PSPSDK 2025-04-22
Loading...
Searching...
No Matches
Interface to the sceSyscon_driver library.

Macros

#define SCE_LED_POWER   1
 
#define LED_ON   1
 
#define LED_OFF   0
 

Functions

void sceSysconPowerStandby (void)
 Force the PSP to go into standby.
 
void sceSysconResetDevice (int unk1, int unk2)
 Reset the PSP.
 
int sceSysconCtrlLED (int SceLED, int state)
 Control an LED.
 
int sceSysconCtrlHRPower (int power)
 Control the remote control power.
 
s8 sceSysconGetHPConnect (void)
 Get the headphone connection status.
 
int sceSysconSetHPConnectCallback (void(*)(int), int unk0)
 
int sceSysconSetHRPowerCallback (void(*)(int), int unk0)
 
int sceSysconGetPommelVersion (int *version)
 Get the PSP's Pommel version.
 
int sceSysconGetBaryonVersion (int *version)
 Get the PSP's Baryon version.
 
int sceSysconGetPolestarVersion (int *version)
 Get the PSP's Polestar version.
 
int sceSysconGetTimeStamp (s8 *timeStamp)
 Get the baryon timestamp string.
 

Detailed Description

Macro Definition Documentation

◆ LED_OFF

#define LED_OFF   0

◆ LED_ON

#define LED_ON   1

◆ SCE_LED_POWER

#define SCE_LED_POWER   1

Function Documentation

◆ sceSysconCtrlHRPower()

int sceSysconCtrlHRPower ( int power)

Control the remote control power.

Parameters
power- 1 is on, 0 is off.
Returns
< 0 on error.

Referenced by pspDebugSioInit().

◆ sceSysconCtrlLED()

int sceSysconCtrlLED ( int SceLED,
int state )

Control an LED.

Parameters
SceLED- The led to toggle (only SCE_LED_POWER).
state- Whether to turn on or off.

◆ sceSysconGetBaryonVersion()

int sceSysconGetBaryonVersion ( int * version)

Get the PSP's Baryon version.

Parameters
version- A pointer to an int to receive the Baryon version into.

◆ sceSysconGetHPConnect()

s8 sceSysconGetHPConnect ( void )

Get the headphone connection status.

Returns
1 if the headphone is connected, 0 if the headphone is disconnected.

◆ sceSysconGetPolestarVersion()

int sceSysconGetPolestarVersion ( int * version)

Get the PSP's Polestar version.

Parameters
version- A pointer to an int to receive the Polestar version into.

◆ sceSysconGetPommelVersion()

int sceSysconGetPommelVersion ( int * version)

Get the PSP's Pommel version.

Parameters
version- A pointer to an int to receive the Pommel version into.

◆ sceSysconGetTimeStamp()

int sceSysconGetTimeStamp ( s8 * timeStamp)

Get the baryon timestamp string.

Parameters
timeStampA pointer to a string at least 12 bytes long.

◆ sceSysconPowerStandby()

void sceSysconPowerStandby ( void )

Force the PSP to go into standby.

◆ sceSysconResetDevice()

void sceSysconResetDevice ( int unk1,
int unk2 )

Reset the PSP.

Parameters
unk1- Unknown, pass 1.
unk2- Unknown, pass 1.

◆ sceSysconSetHPConnectCallback()

int sceSysconSetHPConnectCallback ( void(*  )(int),
int unk0 )

◆ sceSysconSetHRPowerCallback()

int sceSysconSetHRPowerCallback ( void(*  )(int),
int unk0 )