uOFW
Reverse engineered PSP kernel 6.60.
|
Data Structures | |
struct | SceSysconPacket |
struct | SceSysconDebugHandlers |
Macros | |
#define | PSP_SYSCON_BARYON_GET_UNIT_TYPE(v) ((v) & 0xFF) /* 0 = Dev version, 1 = Retail */ |
Typedefs | |
typedef struct SceSysconPacket | SceSysconPacket |
typedef void(* | SceSysconFunc) (s32 enable, void *argp) |
Enumerations | |
enum | PspSysconLeds { PSP_SYSCON_LED_MS , PSP_SYSCON_LED_WLAN , PSP_SYSCON_LED_POWER , PSP_SYSCON_LED_BT } |
The syscon.prx module RE'ing.
#define PSP_SYSCON_BARYON_GET_UNIT_TYPE | ( | v | ) | ((v) & 0xFF) /* 0 = Dev version, 1 = Retail */ |
Below are macros to extract Baryon specific info returned by _sceSysconGetBaryonVersion() and sceSysconGetBaryonVersion().
typedef struct SceSysconPacket SceSysconPacket |
A system controller packet, used to run a syscon command.
typedef void(* SceSysconFunc) (s32 enable, void *argp) |
A system controller callback.
enum PspSysconLeds |
PSP Hardware LEDs which can be turned ON/OFF via sceSysconCtrlLED().
Enumerator | |
---|---|
PSP_SYSCON_LED_MS | Memory-Stick LED. |
PSP_SYSCON_LED_WLAN | W-LAN LED. |
PSP_SYSCON_LED_POWER | Power LED. |
PSP_SYSCON_LED_BT | Bluetooth LED. |
s32 sceSysconInit | ( | void | ) |
Initialize the system controller.
s32 sceSysconEnd | ( | void | ) |
End the system controller.
s32 sceSysconResume | ( | void * | arg0 | ) |
Resume the system controller.
s32 sceSysconCmdExec | ( | SceSysconPacket * | packet, |
u32 | flags | ||
) |
Execute synchronously a syscon packet.
packet | The packet to execute. Its tx member needs to be initialized. |
flags | The packet flags. Check ScesysconPacketFlags. |
s32 sceSysconCmdExecAsync | ( | SceSysconPacket * | packet, |
u32 | flags, | ||
s32(*)(SceSysconPacket *, void *) | callback, | ||
void * | argp | ||
) |
Execute asynchronously a syscon packet.
packet | The packet to execute. Its tx member needs to be initialized. |
flags | The packet flags. Check SceSysconPacketFlags. |
callback | The packet callback. Check the callback member of SceSysconPacket. |
argp | The second argument that will be passed to the callback when executed. |
s32 sceSysconCmdCancel | ( | SceSysconPacket * | packet | ) |
Cancel a syscon packet which has been added for execution.
packet | The same packet that was passed to sceSysconCmdExec or sceSysconCmdExecAsync. |
s32 sceSysconCmdSync | ( | SceSysconPacket * | packet, |
u32 | noWait | ||
) |
Wait for the currently queued syscon packets to be executed, or check if any are in the queue.
packet | The packet you want to check or wait for, or NULL if you want to check or wait for all the currently running packets. |
noWait | Set to 1 if you just want to check the packet status, or 0 if you want the function to return only when the packet queue is empty. |
s32 sceSyscon_driver_90EAEA2B | ( | u32 | timeout, |
u32 | intrTimeout | ||
) |
Set the packet start timeout when waiting for the queue to leave room. After it, packet will be set to current, whatever is the current packet, if polling mode isn't 0 (for interrupts) or if retry mode isn't 0 (for normal sceSysconCmdExec / sceSysconCmdExecAsync).
timeout | The timeout when a packet is ran using sceSysconCmdExec or sceSysconCmdExecAsync. |
intrTimeout | The timeout when running the next packet from the queue. |
s32 sceSyscon_driver_755CF72B | ( | u32 * | timeoutPtr, |
u32 * | intrTimeoutPtr | ||
) |
Get the packet start timeouts (check sceSyscon_driver_90EAEA2B for details).
timeoutPtr | A pointer which will be filled with the packet start timeout if non-NULL. |
intrTimeoutPtr | A pointer which will be filled with the interrupt packet start timeout if non-NULL. |
s32 sceSysconSuspend | ( | void | ) |
Suspend the system controller.
s32 sceSysconSetDebugHandlers | ( | SceSysconDebugHandlers * | handlers | ) |
Set the debug handlers.
s32 sceSysconSetPollingMode | ( | u32 | pollingMode | ) |
Set the polling mode.
pollingMode | Should be the same state as the interrupt controller. If set to 0, the module will use semaphores for synchronization, add the "wait" syscon command in the queue, use a constant timeout of 4ms, etc. |
s32 sceSysconSetAffirmativeRertyMode | ( | u32 | mode | ) |
Enable retrying packet execution.
mode | If set to 1, the syscon commands which "failed" will be ran again. |
s32 _sceSysconGetBaryonVersion | ( | void | ) |
Get the baryon version.
u64 _sceSysconGetBaryonTimeStamp | ( | void | ) |
Get the baryon timestamp.
s32 _sceSysconGetUsbPowerType | ( | void | ) |
Get the USB power type.
s32 sceSysconSetGSensorCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the GSensor callback, that will be ran when the GSensor state changes.
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetLowBatteryCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the low battery callback, that will be ran when the battery is low.
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetPowerSwitchCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the power switch callback, that will be ran when the power switch state changes.
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetAlarmCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the alarm callback, that will be ran when the alarm state changes.
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetAcSupplyCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the Ac supply callback, that will be ran when the PSP Ac power is (dis)connected (probably).
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetAcSupply2Callback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the second Ac supply callback, that will be ran when the 2nd PSP Ac state changes (?).
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetHPConnectCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the headphone connect callback, that will be ran when the headphone is (dis)connected.
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetHRPowerCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the HR power callback, that will be ran when the HR power (?) state changes.
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetHRWakeupCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the HR wakeup callback, that will be ran when the HR wakeup (?) state changes.
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetWlanSwitchCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the wlan switch callback, that will be ran when the wlan switch changes.
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetWlanPowerCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the wlan power callback, that will be ran when the wlan power state changes.
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetBtSwitchCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the bluetooth switch callback, that will be ran when the bluetooth switch changes.
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetBtPowerCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the bluetooth power callback, that will be ran when the bluetooth power state changes.
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetHoldSwitchCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the hold switch callback, that will be ran when the hold switch state changes.
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSysconSetUmdSwitchCallback | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the UMD switch callback, that will be ran when the UMD switch state changes.
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSyscon_driver_374373A8 | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the (?) callback, that will be ran when the (?) state changes (in PSP street, related to HP remote).
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSyscon_driver_B761D385 | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the (?) callback, that will be ran when the (?) state changes (in PSP street, related to HP remote).
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSyscon_driver_26307D84 | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the (?) callback, that will be ran when the (?) state changes (unused).
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
s32 sceSyscon_driver_6C388E02 | ( | SceSysconFunc | callback, |
void * | argp | ||
) |
Set the (?) callback, that will be ran when the (?) state changes (related to USB).
callback | The callback function. |
argp | The second argument that will be passed to the callback. |
u8 sceSysconGetBaryonStatus | ( | void | ) |
Get the baryon status (set of flags about the syscon ctrl state).
u8 sceSysconGetBaryonStatus2 | ( | void | ) |
Get the "second" baryon status (set of other flags about the syscon ctrl state).
u8 sceSysconIsFalling | ( | void | ) |
Check if the PSP is falling.
u8 sceSysconIsLowBattery | ( | void | ) |
Check if the battery is low.
u8 sceSysconGetPowerSwitch | ( | void | ) |
Get the power switch state.
u8 sceSysconIsAlarmed | ( | void | ) |
Check if the PSP is alarmed.
u8 sceSysconIsAcSupplied | ( | void | ) |
Check if the Ac is supplying current.
s8 sceSysconGetHPConnect | ( | void | ) |
Get the headphone connection.
s8 sceSysconGetWlanSwitch | ( | void | ) |
Get the wlan switch state.
s8 sceSyscon_driver_0B51E34D | ( | s8 | wlanSwitch | ) |
Set a wlan switch override value.
wlanSwitch | The value that will override the default wlan switch value if more than 0, or disable overriding with a less than 0 value. |
s8 sceSysconGetBtSwitch | ( | void | ) |
Get the bluetooth switch state.
s8 sceSyscon_driver_BADF1260 | ( | s8 | btSwitch | ) |
Set a bluetooth switch override value.
btSwitch | The value that will override the default bluetooth switch value if more than 0, or disable overriding with a less than 0 value. |
s8 sceSysconGetHoldSwitch | ( | void | ) |
Get the hold switch state.
s8 sceSysconGetUmdSwitch | ( | void | ) |
Get the UMD switch state.
s8 sceSyscon_driver_248335CD | ( | void | ) |
Get an unknown state (in PSP street, related to HP remote).
s8 sceSyscon_driver_040982CD | ( | void | ) |
Get an unknown state (in PSP street, related to HP remote).
s8 sceSyscon_driver_97765E27 | ( | void | ) |
Get an unknown state (related to input).
u8 sceSysconGetHRPowerStatus | ( | void | ) |
Get the HP remote power status.
u8 sceSysconGetHRWakeupStatus | ( | void | ) |
Get the headphone remote wakeup status.
u8 sceSysconGetWlanPowerStatus | ( | void | ) |
Get the wlan power status.
u8 sceSysconGetBtPowerStatus | ( | void | ) |
Get the bluetooth power status.
u8 sceSyscon_driver_DF20C984 | ( | void | ) |
Get an unknown state (USB-related).
s8 sceSysconGetLeptonPowerCtrl | ( | void | ) |
Get the UMD drive power control state.
s8 sceSysconGetMsPowerCtrl | ( | void | ) |
Get the Memory Stick power control state.
s8 sceSysconGetWlanPowerCtrl | ( | void | ) |
Get the wlan power control state.
s8 sceSysconGetHddPowerCtrl | ( | void | ) |
Get the HDD power control state.
s8 sceSysconGetDvePowerCtrl | ( | void | ) |
Get the DVE (video out) power control state.
s8 sceSysconGetBtPowerCtrl | ( | void | ) |
Get the bluetooth power control state.
s8 sceSysconGetUsbPowerCtrl | ( | void | ) |
Get the USB power control state.
s8 sceSysconGetTachyonVmePowerCtrl | ( | void | ) |
Get the Tachyon VME power control state.
s8 sceSysconGetTachyonAwPowerCtrl | ( | void | ) |
Get the Tachyon AW power control state.
s8 sceSysconGetTachyonAvcPowerCtrl | ( | void | ) |
Get the Tachyon AVC power control state.
s8 sceSysconGetLcdPowerCtrl | ( | void | ) |
Get the LCD screen power control state.
s8 sceSysconGetHRPowerCtrl | ( | void | ) |
Get the headphone remote power control state.
s8 sceSysconGetWlanLedCtrl | ( | void | ) |
Get the wlan LED control state.
s32 sceSysconGetTimeStamp | ( | s8 * | timeStamp | ) |
Get the baryon timestamp string.
timeStamp | A pointer to a string at least 12 bytes long. |
s32 sceSysconWriteScratchPad | ( | u32 | dst, |
void * | src, | ||
u32 | size | ||
) |
Write data to the scratchpad.
dst | The scratchpad address to write to. |
src | A pointer to the data to copy to the scratchpad. |
size | The size of the data to copy. |
s32 sceSysconReadScratchPad | ( | u32 | src, |
void * | dst, | ||
u32 | size | ||
) |
Read data from the scratchpad.
src | The scratchpad address to read from. |
dst | A pointer where will be copied the read data. |
size | The size of the data to read from the scratchpad. |
s32 sceSysconSendSetParam | ( | u32 | id, |
void * | param | ||
) |
Set a parameter (used by power).
id | The parameter ID (?). |
param | Pointer to a buffer (length 8) the parameter will be set to. |
s32 sceSysconReceiveSetParam | ( | u32 | id, |
void * | param | ||
) |
Receive a parameter (used by power).
id | The parameter ID (?). |
param | Pointer to a buffer (length 8) where will be copied the parameter. |
s32 sceSysconCtrlTachyonWDT | ( | s32 | wdt | ) |
Set the tachyon watchdog timer.
wdt | The timer value (0 - 0x7F). |
s32 sceSysconResetDevice | ( | u32 | reset, |
u32 | mode | ||
) |
Reset the device.
reset | The reset value, passed to the syscon. |
mode | The resetting mode (?). |
s32 sceSyscon_driver_12518439 | ( | u32 | arg0 | ) |
(? related to power, looks a bit like sceSysconPowerSuspend)
arg0 | Unknown. |
s32 sceSysconPowerSuspend | ( | u32 | arg0, |
u32 | arg1 | ||
) |
Suspend the PSP power.
arg0 | Unknown. |
arg1 | Unknown. |
s32 sceSysconNop | ( | void | ) |
Send a command to the syscon doing nothing.
s32 sceSysconGetBaryonVersion | ( | s32 * | baryonVersion | ) |
Get the baryon version from the syscon.
baryonVersion | Pointer to a s32 where the baryon version will be stored. |
s32 sceSysconGetGValue | ( | void | ) |
Debugging function, disactivated in production.
s32 sceSysconGetPowerSupplyStatus | ( | s32 * | status | ) |
Get the power supply status.
status | Pointer to a s32 where the power supply status will be stored. |
s32 sceSysconGetFallingDetectTime | ( | void | ) |
Debugging function, disactivated in production.
s32 sceSysconGetWakeUpFactor | ( | void * | factor | ) |
Get the wake up factor (?).
factor | Pointer to a buffer where the factor will be stored. |
s32 sceSysconGetWakeUpReq | ( | void * | req | ) |
Get the wake up req (?).
req | Pointer to a buffer where the req will be stored. |
s32 sceSysconGetVideoCable | ( | s32 * | cable | ) |
Get the video cable.
cable | Pointer to a s32 where the cable info will be stored. |
s32 sceSysconReadClock | ( | s32 * | clock | ) |
Read the PSP clock.
clock | Pointer to a s32 where the clock will be stored. |
s32 sceSysconWriteClock | ( | s32 | clock | ) |
Write the PSP clock.
clock | The clock value to set the PSP clock to. |
s32 sceSysconReadAlarm | ( | s32 * | alarm | ) |
Read the PSP alarm.
alarm | Pointer to a s32 where the alarm will be stored. |
s32 sceSysconWriteAlarm | ( | s32 | alarm | ) |
Set the PSP alarm.
alarm | The alarm value to set the PSP alarm to. |
s32 sceSysconSetUSBStatus | ( | u8 | status | ) |
Set the USB status.
status | The new USB status. |
s32 sceSysconGetTachyonWDTStatus | ( | s32 * | status | ) |
Get the Tachyon watchdog timer status.
status | Pointer to a s32 where the watchdog timer status will be stored. |
s32 sceSysconCtrlAnalogXYPolling | ( | s8 | polling | ) |
Set the analog XY polling control.
polling | The new polling value. |
s32 sceSysconCtrlHRPower | ( | s8 | power | ) |
Set the HR power control.
power | The new power control. |
s32 sceSysconCtrlPower | ( | u32 | arg0, |
u32 | arg1 | ||
) |
Set the power control.
arg0 | Unknown. |
arg1 | Unknown. |
s32 sceSysconCtrlLED | ( | u32 | led, |
u32 | set | ||
) |
Turn a LED on or off.
led | The LED id, one of PspSysconLeds. |
set | Set this value to 1 if you want the LED to turn on, or 0 if you want it to turn off. |
s32 sceSysconCtrlDvePower | ( | s8 | power | ) |
Set the Dve power control.
power | The new dve power control. |
s32 sceSyscon_driver_765775EB | ( | s32 | arg0 | ) |
Set an unknown value.
arg0 | Always set to 0 when the function is called. |
s32 sceSysconCtrlCharge | ( | u8 | allow | ) |
Allow or disallow charge.
allow | Set to 1 if you want charge to be allowed, 0 otherwise. |
s32 sceSysconCtrlTachyonAvcPower | ( | s8 | power | ) |
Set the tachyon AVC power control.
power | The new AVC power control. |
s32 sceSysconGetPommelVersion | ( | s32 * | pommel | ) |
Get the pommel version.
pommel | Pointer to a s32 where the pommel version will be stored. |
s32 sceSysconGetPolestarVersion | ( | s32 * | polestar | ) |
Get the polestar version.
polestar | Pointer to a s32 where the polestar version will be stored. |
s32 sceSysconCtrlVoltage | ( | s32 | arg0, |
s32 | arg1 | ||
) |
Set the voltage.
arg0 | Unknown. |
arg1 | Unknown. |
s32 sceSysconGetGSensorVersion | ( | void | ) |
Debugging function, disabled for production.
s32 sceSysconCtrlGSensor | ( | void | ) |
Debugging function, disabled for production.
s32 sceSysconGetPowerStatus | ( | s32 * | status | ) |
Get the power status.
status | Pointer to a s32 where the power status will be stored. |
s32 sceSysconWritePommelReg | ( | u8 | reg, |
s16 | value | ||
) |
Write a value to a pommel register.
reg | The register id to write the value to. |
value | The value to write to the register. |
s32 sceSysconReadPommelReg | ( | u8 | reg, |
s16 * | value | ||
) |
Read a value from a pommel register.
reg | The register id to read the value from. |
value | Pointer to a s16 where the contents of the register will be stored. |
s32 sceSysconGetPowerError | ( | s32 * | error | ) |
Get the power error (function seems disabled).
error | Pointer to a s32 where 0 will be stored, if non-NULL. |
s32 sceSysconCtrlLeptonPower | ( | s8 | power | ) |
Set the lepton power.
power | The new power value. |
s32 sceSysconCtrlMsPower | ( | s8 | power | ) |
Set the memory stick power.
power | The new power value. |
s32 sceSysconCtrlWlanPower | ( | s8 | power | ) |
Set the wlan power.
power | The new power value. |
s32 sceSysconCtrlHddPower | ( | s8 | power | ) |
Set the HDD power.
power | The new power value. |
s32 sceSysconCtrlBtPower | ( | s8 | power | ) |
Set the bluetooth power.
power | The new power value. |
s32 sceSysconCtrlUsbPower | ( | s8 | power | ) |
Set the USB power.
power | The new power value. |
s32 sceSysconPermitChargeBattery | ( | void | ) |
Permit the battery charge.
s32 sceSysconForbidChargeBattery | ( | void | ) |
Forbid the battery charge.
s32 sceSysconCtrlTachyonVmePower | ( | s8 | power | ) |
Set the tachyon VME power.
power | The new power value. |
s32 sceSysconCtrlTachyonAwPower | ( | s8 | power | ) |
Set the tachyon AW power.
power | The new power value. |
s32 sceSysconCtrlLcdPower | ( | s8 | power | ) |
Set the LCD power.
power | The new power value. |
s32 sceSysconGetGSensorCarib | ( | void | ) |
Debugging function, disabled for production.
s32 sceSysconSetGSensorCarib | ( | void | ) |
Debugging function, disabled for production.
s32 sceSysconWritePolestarReg | ( | u8 | reg, |
s16 | val | ||
) |
Write a value to a polestar register.
reg | The register to write the value to. |
val | The value that will be stored in the register. |
s32 sceSysconReadPolestarReg | ( | u8 | reg, |
s16 * | val | ||
) |
Read a value from a polestar register.
reg | The register to read the value from. |
val | Pointer to a s16 where will be stored the read content of the register. |
s32 sceSysconWriteGSensorReg | ( | void | ) |
Debugging function, disabled for production.
s32 sceSysconReadGSensorReg | ( | void | ) |
Debugging function, disabled for production.
s32 sceSysconBatteryGetStatusCap | ( | s32 * | arg0, |
s32 * | arg1 | ||
) |
Get the battery status cap.
arg0 | Pointer to an unknown s32 where a value will be stored. |
arg1 | Pointer to an unknown s32 where a value will be stored. |
s32 sceSysconBatteryGetInfo | ( | s32 * | info | ) |
Get the battery info.
info | Pointer to a s32 where the battery info will be stored. |
s32 sceSysconGetBattVolt | ( | s32 * | volt | ) |
Get the battery voltage.
volt | Pointer to a s32 where the voltage will be stored. |
s32 sceSysconGetBattVoltAD | ( | s32 * | volt1, |
s32 * | volt2 | ||
) |
Get the battery analog-digital voltage (?).
volt1 | Pointer to a s32 where an unknown value will be stored. |
volt2 | Pointer to a s32 where an unknown value will be stored. |
s32 sceSysconBatteryNop | ( | void | ) |
Send a command to the battery doing nothing.
s32 sceSysconBatteryGetTemp | ( | s32 * | temp | ) |
Get the battery temperature.
temp | Pointer to a s32 where the temperature will be stored. |
s32 sceSysconBatteryGetVolt | ( | s32 * | volt | ) |
Get the battery voltage.
volt | Pointer to a s32 where the voltage will be stored. |
s32 sceSysconBatteryGetElec | ( | s32 * | elec | ) |
Get the battery electric charge.
elec | Pointer to a s32 where the charge will be stored. |
s32 sceSysconBatteryGetRCap | ( | s32 * | rcap | ) |
Get the battery remaining capacity.
rcap | Pointer to a s32 where the capacity will be stored. |
s32 sceSysconBatteryGetCap | ( | s32 * | cap | ) |
Get the battery charged capacity.
cap | Pointer to a s32 where the capacity will be stored. |
s32 sceSysconBatteryGetFullCap | ( | s32 * | cap | ) |
Get the battery full capacity.
cap | Pointer to a s32 where the capacity will be stored. |
s32 sceSysconBatteryGetIFC | ( | s32 * | ifc | ) |
Get the battery IFC (Integrated Fire Control?).
ifc | Pointer to a s32 where the IFC will be stored. |
s32 sceSysconBatteryGetLimitTime | ( | s32 * | time | ) |
Get the battery limit time.
time | Pointer to a s32 where the limit time will be stored. |
s32 sceSysconBatteryGetStatus | ( | s32 * | status | ) |
Get the battery status.
status | Pointer to a s32 where the status will be stored. |
s32 sceSysconBatteryGetCycle | ( | s32 * | cycle | ) |
Get the battery cycle.
cycle | Pointer to a s32 where the cycle will be stored. |
s32 sceSysconBatteryGetSerial | ( | s32 * | serial | ) |
Get the battery serial.
serial | Pointer to a s32 where the serial will be stored. |
s32 sceSysconBatteryGetTempAD | ( | s32 * | temp | ) |
Get the battery analog-digital temperature.
temp | Pointer to a s32 where the temperature will be stored. |
s32 sceSysconBatteryGetVoltAD | ( | s32 * | volt | ) |
Get the battery analog-digital voltage.
volt | Pointer to a s32 where the voltage will be stored. |
s32 sceSysconBatteryGetElecAD | ( | s32 * | elec | ) |
Get the battery analog-digital electric current.
elec | Pointer to a s32 where the electric current will be stored. |
s32 sceSysconBatteryGetTotalElec | ( | s32 * | elec | ) |
Get the battery total electric current.
elec | Pointer to a s32 where the total current will be stored. |
s32 sceSysconBatteryGetChargeTime | ( | s32 * | time | ) |
Get the battery charge time.
time | Pointer to a s32 where the charge time will be stored. |
s32 sceSysconCtrlTachyonVoltage | ( | s32 | voltage | ) |
Set the tachyon voltage.
voltage | The new voltage. |
s32 sceSysconGetDigitalKey | ( | s8 * | key | ) |
Get the pressed user keys.
key | Pointer to a 2-byte buffer where the pressed user keys will be stored. |