vitasdk
Documentation of the vitasdk
|
Exports for Kernel.
Include the header file in your project:
Include the header file in your project:
Link the library to the executable:
Functions | |
VITASDK_BUILD_ASSERT_EQ (4, ScePowerErrorCode) | |
VITASDK_BUILD_ASSERT_EQ (4, ScePowerCallbackType) | |
VITASDK_BUILD_ASSERT_EQ (4, ScePowerConfigurationMode) | |
int | kscePowerRegisterCallback (SceUID cbid) |
Registers a ScePower Callback. More... | |
int | kscePowerUnregisterCallback (SceUID cbid) |
Unregister a callback. More... | |
SceBool | kscePowerIsBatteryCharging (void) |
Returns battery charging status. More... | |
int | kscePowerGetBatteryLifePercent (void) |
Returns battery life percentage. More... | |
SceBool | kscePowerIsSuspendRequired (void) |
Check if a suspend is required. More... | |
SceBool | kscePowerIsPowerOnline (void) |
Check if AC is plugged in. More... | |
int | kscePowerGetBatteryLifeTime (void) |
Returns battery life time. More... | |
int | kscePowerGetBatteryRemainCapacity (void) |
Returns battery remaining capacity. More... | |
SceBool | kscePowerIsLowBattery (void) |
Returns battery state. More... | |
int | kscePowerGetBatteryFullCapacity (void) |
Returns battery full capacity. More... | |
int | kscePowerGetBatteryTemp (void) |
Returns battery temperature. More... | |
int | kscePowerGetBatteryVolt (void) |
Returns battery voltage. More... | |
int | kscePowerGetBatterySOH (void) |
Returns battery state of health. More... | |
int | kscePowerGetBatteryCycleCount (void) |
Returns battery cycle count. More... | |
int | kscePowerGetArmClockFrequency (void) |
Returns CPU clock frequency. More... | |
int | kscePowerGetBusClockFrequency (void) |
Returns BUS clock frequency. More... | |
int | kscePowerGetSysClockFrequency (void) |
Returns Sys clock frequency. More... | |
int | kscePowerGetGpuXbarClockFrequency (void) |
Returns GPU crossbar clock frequency. More... | |
int | kscePowerRequestSoftReset (void) |
Requests PS Vita to do a soft reset. More... | |
int | kscePowerRequestColdReset (void) |
Requests PS Vita to do a cold reset. More... | |
int | kscePowerRequestStandby (void) |
Requests PS Vita to go into standby. More... | |
int | kscePowerRequestSuspend (void) |
Requests PS Vita to suspend. More... | |
int | kscePowerRequestDisplayOff (void) |
Request display off. More... | |
int | kscePowerSetDisplayBrightness (int brightness) |
Set the screen brightness. More... | |
int | kscePowerSetArmClockFrequency (int freq) |
Sets CPU clock frequency. More... | |
int | kscePowerSetBusClockFrequency (int freq) |
Sets BUS clock frequency. More... | |
int | kscePowerSetGpuClockFrequency (int freq) |
Sets GPU clock frequency. More... | |
int | kscePowerSetGpuXbarClockFrequency (int freq) |
Sets GPU crossbar clock frequency. More... | |
Typedefs | |
typedef void(* | ScePowerCallback) (int notifyId, int notifyCount, int powerInfo, void *userData) |
Callback function prototype. More... | |
typedef void(* ScePowerCallback) (int notifyId, int notifyCount, int powerInfo, void *userData) |
Callback function prototype.
enum ScePowerErrorCode |
enum ScePowerCallbackType |
VITASDK_BUILD_ASSERT_EQ | ( | 4 | , |
ScePowerErrorCode | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 4 | , |
ScePowerCallbackType | |||
) |
VITASDK_BUILD_ASSERT_EQ | ( | 4 | , |
ScePowerConfigurationMode | |||
) |
int kscePowerRegisterCallback | ( | SceUID | cbid | ) |
Registers a ScePower Callback.
cbid | - The UID of the specified callback |
int kscePowerUnregisterCallback | ( | SceUID | cbid | ) |
Unregister a callback.
cbid | - The UID of the specified callback |
SceBool kscePowerIsBatteryCharging | ( | void | ) |
Returns battery charging status.
int kscePowerGetBatteryLifePercent | ( | void | ) |
Returns battery life percentage.
SceBool kscePowerIsSuspendRequired | ( | void | ) |
Check if a suspend is required.
SceBool kscePowerIsPowerOnline | ( | void | ) |
Check if AC is plugged in.
int kscePowerGetBatteryLifeTime | ( | void | ) |
Returns battery life time.
int kscePowerGetBatteryRemainCapacity | ( | void | ) |
Returns battery remaining capacity.
SceBool kscePowerIsLowBattery | ( | void | ) |
Returns battery state.
int kscePowerGetBatteryFullCapacity | ( | void | ) |
Returns battery full capacity.
int kscePowerGetBatteryTemp | ( | void | ) |
Returns battery temperature.
int kscePowerGetBatteryVolt | ( | void | ) |
Returns battery voltage.
int kscePowerGetBatterySOH | ( | void | ) |
Returns battery state of health.
int kscePowerGetBatteryCycleCount | ( | void | ) |
Returns battery cycle count.
int kscePowerGetArmClockFrequency | ( | void | ) |
Returns CPU clock frequency.
int kscePowerGetBusClockFrequency | ( | void | ) |
Returns BUS clock frequency.
int kscePowerGetSysClockFrequency | ( | void | ) |
Returns Sys clock frequency.
int kscePowerGetGpuXbarClockFrequency | ( | void | ) |
Returns GPU crossbar clock frequency.
int kscePowerRequestSoftReset | ( | void | ) |
Requests PS Vita to do a soft reset.
int kscePowerRequestColdReset | ( | void | ) |
Requests PS Vita to do a cold reset.
int kscePowerRequestStandby | ( | void | ) |
Requests PS Vita to go into standby.
int kscePowerRequestSuspend | ( | void | ) |
Requests PS Vita to suspend.
int kscePowerRequestDisplayOff | ( | void | ) |
Request display off.
int kscePowerSetDisplayBrightness | ( | int | brightness | ) |
Set the screen brightness.
brightness | Brightness that the screen will be set to (range 21-65536, 0 turns off the screen). |
int kscePowerSetArmClockFrequency | ( | int | freq | ) |
Sets CPU clock frequency.
freq | - Frequency to set in Mhz |
int kscePowerSetBusClockFrequency | ( | int | freq | ) |
Sets BUS clock frequency.
freq | - Frequency to set in Mhz |
int kscePowerSetGpuClockFrequency | ( | int | freq | ) |
Sets GPU clock frequency.
freq | - Frequency to set in Mhz |
int kscePowerSetGpuXbarClockFrequency | ( | int | freq | ) |
Sets GPU crossbar clock frequency.
freq | - Frequency to set in Mhz |