GSPLCD:GetPowerState

From 3dbrew
Revision as of 08:57, 13 October 2023 by Kynex7510 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x000E0040]

Response[edit]

Index Word Description
0 Header code
1 Result code
2 Power state (u8)

Power state flags[edit]

Bit Description
0 Top backlight on
1 Bottom backlight on
2 LC panel on
3 Operation in process
7 Fatal error

Description[edit]

Read LCD power state. If set, the fatal error bit halts any successive power operation; the result code tells the cause of the error.