mirror of
https://github.com/zeldaret/st
synced 2026-08-27 00:13:49 -04:00
69ef244371
* merge headers from nitro decomp * cleanup: use inlines from g2.h and gx.h when changing registers * cleanup: remove externs declarations in source files
24 lines
351 B
C
24 lines
351 B
C
#ifndef _NITRO_PM_H
|
|
#define _NITRO_PM_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// TODO: These two may swap values
|
|
#define PM_TRIGGER_COVER_OPEN 4
|
|
#define PM_TRIGGER_CARD 8
|
|
|
|
#define PM_LCD_POWER_OFF 0
|
|
#define PM_LCD_POWER_ON 0x1
|
|
|
|
void PM_GoSleepMode(u32, u32, u32);
|
|
|
|
BOOL PM_SetLCDPower(u32 power);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#endif
|