![]() |
vitasdk
Documentation of the vitasdk
|
Exports for User. More...
Functions | |
| int | scePowerRegisterCallback (SceUID cbid) |
| Registers a ScePower Callback. | |
| int | scePowerUnregisterCallback (SceUID cbid) |
| Unregister a callback. | |
| SceBool | scePowerIsBatteryCharging (void) |
| Returns battery charging status. | |
| int | scePowerGetBatteryLifePercent (void) |
| Returns battery life percentage. | |
| int | scePowerSetConfigurationMode (int mode) |
| Set configuration mode ? | |
| 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. | |
| int | scePowerSetBusClockFrequency (int freq) |
| Sets BUS clock frequency. | |
| int | scePowerSetGpuClockFrequency (int freq) |
| Sets GPU clock frequency. | |
| int | scePowerSetGpuXbarClockFrequency (int freq) |
| Sets GPU crossbar clock frequency. | |
| int | scePowerSetUsingWireless (SceBool enabled) |
| Sets wireless features usage. | |
| int | scePowerGetUsingWireless (void) |
| Gets wireless features usage. | |
Exports for User.
Include the header file in your project:
Link the library to the executable:
| 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 | mode | ) |
Set configuration mode ?
| mode | - The mode to set |
| 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.