GSPLCD:GetPowerState: Difference between revisions

Kynex7510 (talk | contribs)
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000E0040] |} =Response= {| class="wikitable" border="1" |- ! Index Word !..."
 
Kynex7510 (talk | contribs)
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 from MCUGPU. Bit 0 = top backlight on, bit 1 = bottom backlight on, bit 2 = GPU on.
Read LCD power state. If set, the fatal error bit halts any successive power operation; the result code tells the cause of the error.