GSPLCD:GetPowerState: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 Created page with "=Request= {| class="wikitable" border="1" |- !  Index Word !  Description |- | 0 | Header code [0x000E0040] |}  =Response= {| class="wikitable" border="1" |- !  Index Word !..."  | 
				No edit summary  | 
				||
| Line 23: | Line 23: | ||
| 2  | | 2  | ||
| Power state (u8)  | | Power state (u8)  | ||
|}  | |||
=Power state flags=  | |||
{| class="wikitable" border="1"  | |||
|-  | |||
!  Bit  | |||
!  Description  | |||
|-  | |||
| 0  | |||
| Top backlight on  | |||
|-  | |||
| 1  | |||
| Bottom backlight on  | |||
|-  | |||
| 2  | |||
| LC panel on  | |||
|-  | |||
| 3  | |||
| Operation in process  | |||
|-  | |||
| 7  | |||
| Fatal error  | |||
|}  | |}  | ||
=Description=  | =Description=  | ||
Read power state   | Read LCD power state. If set, the fatal error bit halts any successive power operation; the result code tells the cause of the error.  | ||
Revision as of 07:57, 13 October 2023
Request
| Index Word | Description | 
|---|---|
| 0 | Header code [0x000E0040] | 
Response
| Index Word | Description | 
|---|---|
| 0 | Header code | 
| 1 | Result code | 
| 2 | Power state (u8) | 
Power state flags
| Bit | Description | 
|---|---|
| 0 | Top backlight on | 
| 1 | Bottom backlight on | 
| 2 | LC panel on | 
| 3 | Operation in process | 
| 7 | Fatal error | 
Description
Read LCD power state. If set, the fatal error bit halts any successive power operation; the result code tells the cause of the error.