#define GSP_SCREEN_BOTTOM
ID of the bottom screen.
Definition: gspgpu.h:8
#define GSP_SCREEN_TOP
ID of the top screen.
Definition: gspgpu.h:7
Handle * gspLcdGetSessionHandle(void)
Gets a pointer to the current gsp::Lcd session handle.
@ GSPLCD_SCREEN_BOTH
Both screens.
Definition: gsplcd.h:14
@ GSPLCD_SCREEN_TOP
Top screen.
Definition: gsplcd.h:12
@ GSPLCD_SCREEN_BOTTOM
Bottom screen.
Definition: gsplcd.h:13
Result gspLcdInit(void)
Initializes GSPLCD.
void gspLcdExit(void)
Exits GSPLCD.
Result GSPLCD_PowerOffAllBacklights(void)
Powers off both backlights.
Result GSPLCD_PowerOnBacklight(u32 screen)
Powers on the backlight.
Result GSPLCD_SetBrightnessRaw(u32 screen, u32 brightness)
Sets the LCD screens' raw brightness.
Result GSPLCD_SetLedForceOff(bool disable)
Sets 3D_LEDSTATE to the input state value.
Result GSPLCD_GetVendors(u8 *vendors)
Gets the LCD screens' vendors.
Result GSPLCD_GetBrightness(u32 screen, u32 *brightness)
Gets the LCD screens' brightness.
Result GSPLCD_PowerOffBacklight(u32 screen)
Powers off the backlight.
Result GSPLCD_PowerOnAllBacklights(void)
Powers on both backlights.
Result GSPLCD_SetBrightness(u32 screen, u32 brightness)
Sets the LCD screens' brightness.
#define BIT(n)
Creates a bitmask from a bit number.
Definition: types.h:47
uint8_t u8
would be nice if newlib had this already
Definition: types.h:21
u32 Handle
Resource handle.
Definition: types.h:41
s32 Result
Function result.
Definition: types.h:42
uint32_t u32
32-bit unsigned integer
Definition: types.h:23