vitasdk
Documentation of the vitasdk
|
Exports for User.
Include the header file in your project:
Link the library to the executable:
Functions | |
int | scePowerRegisterCallback (SceUID cbid) |
Registers a ScePower Callback. More... | |
int | scePowerUnregisterCallback (SceUID cbid) |
Unregister a callback. More... | |
SceBool | scePowerIsBatteryCharging (void) |
Returns battery charging status. More... | |
int | scePowerGetBatteryLifePercent (void) |
Returns battery life percentage. More... | |
int | scePowerSetConfigurationMode (int conf) |
Set power configuration mode between: More... | |
SceBool | scePowerIsSuspendRequired (void) |
Check if a suspend is required. More... | |
SceBool | scePowerIsPowerOnline (void) |
Check if AC is plugged in. More... | |
int | scePowerGetBatteryLifeTime (void) |
Returns battery life time. More... | |
int | scePowerGetBatteryRemainCapacity (void) |
Returns battery remaining capacity. More... | |
SceBool | scePowerIsLowBattery (void) |
Returns battery state. More... | |
int | scePowerGetBatteryFullCapacity (void) |
Returns battery full capacity. More... | |
int | scePowerGetBatteryTemp (void) |
Returns battery temperature. More... | |
int | scePowerGetBatteryVolt (void) |
Returns battery voltage. More... | |
int | scePowerGetBatterySOH (void) |
Returns battery state of health. More... | |
int | scePowerGetBatteryCycleCount (void) |
Returns battery cycle count. More... | |
int | scePowerGetArmClockFrequency (void) |
Returns CPU clock frequency. More... | |
int | scePowerGetBusClockFrequency (void) |
Returns BUS clock frequency. More... | |
int | scePowerGetGpuClockFrequency (void) |
Returns GPU clock frequency. More... | |
int | scePowerGetGpuXbarClockFrequency (void) |
Returns GPU crossbar clock frequency. More... | |
int | scePowerRequestColdReset (void) |
Requests PS Vita to do a cold reset. More... | |
int | scePowerRequestStandby (void) |
Requests PS Vita to go into standby. More... | |
int | scePowerRequestSuspend (void) |
Requests PS Vita to suspend. More... | |
int | scePowerRequestDisplayOn (void) |
Request display on. More... | |
int | scePowerRequestDisplayOff (void) |
Request display off. More... | |
int | scePowerSetArmClockFrequency (int freq) |
Sets CPU clock frequency. More... | |
int | scePowerSetBusClockFrequency (int freq) |
Sets BUS clock frequency. More... | |
int | scePowerSetGpuClockFrequency (int freq) |
Sets GPU clock frequency. More... | |
int | scePowerSetGpuXbarClockFrequency (int freq) |
Sets GPU crossbar clock frequency. More... | |
int | scePowerSetUsingWireless (SceBool enabled) |
Sets wireless features usage. More... | |
int | scePowerGetUsingWireless (void) |
Gets wireless features usage. More... | |
int scePowerRegisterCallback | ( | SceUID | cbid | ) |
Registers a ScePower Callback.
cbid | - The UID of the specified callback |
int scePowerUnregisterCallback | ( | SceUID | cbid | ) |
Unregister a callback.
cbid | - The UID of the specified callback |
SceBool scePowerIsBatteryCharging | ( | void | ) |
Returns battery charging status.
int scePowerGetBatteryLifePercent | ( | void | ) |
Returns battery life percentage.
int scePowerSetConfigurationMode | ( | int | conf | ) |
Set power configuration mode between:
Mode A - This is the normal mode at process start-up. The clock frequency of the GPU core is the "normal" clock frequency. The WLAN/COM can be used. Mode B - This mode accelerates the GPU clock frequency. The clock frequency of the GPU core is the "high" clock frequency. The WLAN/COM cannot be used. Mode C - This mode accelerates the GPU clock frequency, and also uses the WLAN/COM. The clock frequency of the GPU core is the "high" clock frequency, and use of the WLAN/COM is possible. The screen (touchscreen) brightness, however, is limited. Also, camera cannot be used.
conf | One of ScePowerConfigurationMode |
SceBool scePowerIsSuspendRequired | ( | void | ) |
Check if a suspend is required.
SceBool scePowerIsPowerOnline | ( | void | ) |
Check if AC is plugged in.
int scePowerGetBatteryLifeTime | ( | void | ) |
Returns battery life time.
int scePowerGetBatteryRemainCapacity | ( | void | ) |
Returns battery remaining capacity.
SceBool scePowerIsLowBattery | ( | void | ) |
Returns battery state.
int scePowerGetBatteryFullCapacity | ( | void | ) |
Returns battery full capacity.
int scePowerGetBatteryTemp | ( | void | ) |
Returns battery temperature.
int scePowerGetBatteryVolt | ( | void | ) |
Returns battery voltage.
int scePowerGetBatterySOH | ( | void | ) |
Returns battery state of health.
int scePowerGetBatteryCycleCount | ( | void | ) |
Returns battery cycle count.
int scePowerGetArmClockFrequency | ( | void | ) |
Returns CPU clock frequency.
int scePowerGetBusClockFrequency | ( | void | ) |
Returns BUS clock frequency.
int scePowerGetGpuClockFrequency | ( | void | ) |
Returns GPU clock frequency.
int scePowerGetGpuXbarClockFrequency | ( | void | ) |
Returns GPU crossbar clock frequency.
int scePowerRequestColdReset | ( | void | ) |
Requests PS Vita to do a cold reset.
int scePowerRequestStandby | ( | void | ) |
Requests PS Vita to go into standby.
int scePowerRequestSuspend | ( | void | ) |
Requests PS Vita to suspend.
int scePowerRequestDisplayOn | ( | void | ) |
Request display on.
int scePowerRequestDisplayOff | ( | void | ) |
Request display off.
int scePowerSetArmClockFrequency | ( | int | freq | ) |
Sets CPU clock frequency.
freq | - Frequency to set in Mhz |
int scePowerSetBusClockFrequency | ( | int | freq | ) |
Sets BUS clock frequency.
freq | - Frequency to set in Mhz |
int scePowerSetGpuClockFrequency | ( | int | freq | ) |
Sets GPU clock frequency.
freq | - Frequency to set in Mhz |
int scePowerSetGpuXbarClockFrequency | ( | int | freq | ) |
Sets GPU crossbar clock frequency.
freq | - Frequency to set in Mhz |
int scePowerSetUsingWireless | ( | SceBool | enabled | ) |
Sets wireless features usage.
enabled | - SCE_TRUE to enable, SCE_FALSE to disable |
int scePowerGetUsingWireless | ( | void | ) |
Gets wireless features usage.