summaryrefslogtreecommitdiff
path: root/arm9/lib/include/SPI_pm.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-05-10 19:33:09 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-05-10 19:33:09 -0400
commit05e903f7477a7a904d3026673a32c3f6917b659f (patch)
tree27c59784c3876717e26f710c444cfdeb8b64be50 /arm9/lib/include/SPI_pm.h
parent518b493af185999b3f362af392533cdcf9ca9786 (diff)
Function decls in main.c
Diffstat (limited to 'arm9/lib/include/SPI_pm.h')
-rw-r--r--arm9/lib/include/SPI_pm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arm9/lib/include/SPI_pm.h b/arm9/lib/include/SPI_pm.h
index 25fe470a..b5063ed8 100644
--- a/arm9/lib/include/SPI_pm.h
+++ b/arm9/lib/include/SPI_pm.h
@@ -20,8 +20,18 @@ typedef enum
PM_BACKLIGHT_ON = 1
} PMBackLightSwitch;
+typedef enum
+{
+ PM_LCD_TOP = 0,
+ PM_LCD_BOTTOM = 1,
+ PM_LCD_ALL = 2
+}
+PMLCDTarget;
+
void PM_GetBackLight(PMBackLightSwitch * top, PMBackLightSwitch * bottom);
void PM_GoSleepMode(PMWakeUpTrigger trigger, PMLogic logic, u16 keyPattern);
+u32 PM_SetBackLight(PMLCDTarget target, PMBackLightSwitch status);
+void PM_ForceToPowerOff(void);
ENUMS_ALWAYS_INT_RESET