6 #ifndef _PSP2COMMON_POWER_H_
7 #define _PSP2COMMON_POWER_H_
64 typedef void (*
ScePowerCallback)(
int notifyId,
int notifyCount,
int powerInfo,
void* userData);
ScePowerErrorCode
Definition: power.h:16
ScePowerCallbackType
Definition: power.h:26
ScePowerConfigurationMode
Definition: power.h:53
VITASDK_BUILD_ASSERT_EQ(4, ScePowerErrorCode)
void(* ScePowerCallback)(int notifyId, int notifyCount, int powerInfo, void *userData)
Callback function prototype.
Definition: power.h:64
@ SCE_POWER_ERROR_CALLBACK_NOT_REGISTERED
Definition: power.h:19
@ SCE_POWER_ERROR_INVALID_VALUE
Definition: power.h:17
@ SCE_POWER_ERROR_ALREADY_REGISTERED
Definition: power.h:18
@ SCE_POWER_ERROR_NO_BATTERY
Definition: power.h:21
@ SCE_POWER_ERROR_DETECTING
Definition: power.h:22
@ SCE_POWER_ERROR_CANT_SUSPEND
Definition: power.h:20
@ SCE_POWER_CB_SYSTEM_RESUME
Definition: power.h:35
@ SCE_POWER_CB_AFTER_SYSTEM_RESUME
Definition: power.h:27
@ SCE_POWER_CB_BUTTON_PS_START_PRESS
Definition: power.h:40
@ SCE_POWER_CB_VALID_MASK_SYSTEM
Definition: power.h:47
@ SCE_POWER_CB_THERMAL_SUSPEND
Definition: power.h:29
@ SCE_POWER_CB_VALID_MASK_NON_SYSTEM
Definition: power.h:48
@ SCE_POWER_CB_APP_SUSPEND
Definition: power.h:38
@ SCE_POWER_CB_POWER_ONLINE
Definition: power.h:32
@ SCE_POWER_CB_SYSTEM_RESUMING
Definition: power.h:34
@ SCE_POWER_CB_APP_RESUMING
Definition: power.h:39
@ SCE_POWER_CB_BUTTON_PS_PRESS
Definition: power.h:43
@ SCE_POWER_CB_APP_RESUME
Definition: power.h:37
@ SCE_POWER_CB_BATTERY_ONLINE
Definition: power.h:28
@ SCE_POWER_CB_LOW_BATTERY_SUSPEND
Definition: power.h:30
@ SCE_POWER_CB_BUTTON_PS_HOLD
Definition: power.h:42
@ SCE_POWER_CB_SYSTEM_SUSPEND
Definition: power.h:33
@ SCE_POWER_CB_UNK_0x100000
Definition: power.h:36
@ SCE_POWER_CB_BUTTON_POWER_HOLD
Definition: power.h:44
@ SCE_POWER_CB_BUTTON_PS_POWER_PRESS
Definition: power.h:41
@ SCE_POWER_CB_LOW_BATTERY
Definition: power.h:31
@ SCE_POWER_CB_BUTTON_POWER_PRESS
Definition: power.h:45
@ SCE_POWER_CB_VALID_MASK_KERNEL
Definition: power.h:46
@ SCE_POWER_CONFIGURATION_MODE_C
Definition: power.h:56
@ SCE_POWER_CONFIGURATION_MODE_A
Definition: power.h:54
@ __SCE_POWER_CONFIGURATION_MODE
Definition: power.h:57
@ SCE_POWER_CONFIGURATION_MODE_B
Definition: power.h:55