PSPSDK 2024-10-31
Loading...
Searching...
No Matches
pspsystimer.h File Reference

Go to the source code of this file.

Typedefs

typedef int SceSysTimerId
 

Functions

SceSysTimerId sceSTimerAlloc (void)
 Allocate a new SysTimer timer instance.
 
void sceSTimerFree (SceSysTimerId timer)
 Free an instance of a SysTimer timer.
 
void sceSTimerStartCount (SceSysTimerId timer)
 Start the SysTimer timer count.
 
void sceSTimerStopCount (SceSysTimerId timer)
 Stop the current SysTimer timer count.
 
void sceSTimerResetCount (SceSysTimerId timer)
 Reset the current SysTimer timer count.
 
void sceSTimerGetCount (SceSysTimerId timer, int *count)
 Get the current SysTimer timer count.
 
void sceSTimerSetHandler (SceSysTimerId timer, int cycle, int(*handler)(void), int unk1)
 Setup a SysTimer handler.
 
void SysTimerForKernel_53231A15 (SceSysTimerId timer, int unk1)
 
void SysTimerForKernel_B53534B4 (SceSysTimerId timer, int unk1, int unk2)
 

Typedef Documentation

◆ SceSysTimerId

Function Documentation

◆ sceSTimerAlloc()

SceSysTimerId sceSTimerAlloc ( void  )

Allocate a new SysTimer timer instance.

Returns
SysTimerId on success, < 0 on error

◆ sceSTimerFree()

void sceSTimerFree ( SceSysTimerId  timer)

Free an instance of a SysTimer timer.

Parameters
timer- The timer id.

◆ sceSTimerGetCount()

void sceSTimerGetCount ( SceSysTimerId  timer,
int count 
)

Get the current SysTimer timer count.

Parameters
timer- The timer id.
count- The pointer to an integer into which the count will be written.

◆ sceSTimerResetCount()

void sceSTimerResetCount ( SceSysTimerId  timer)

Reset the current SysTimer timer count.

Parameters
timer- The timer id.

◆ sceSTimerSetHandler()

void sceSTimerSetHandler ( SceSysTimerId  timer,
int  cycle,
int(*)(void handler,
int  unk1 
)

Setup a SysTimer handler.

Parameters
timer- The timer id.
cycle- The timer cycle in microseconds (???). Maximum: 4194303 which represents ~1/10 seconds.
handler- The handler function. Has to return -1.
unk1- Unknown. Pass 0.

◆ sceSTimerStartCount()

void sceSTimerStartCount ( SceSysTimerId  timer)

Start the SysTimer timer count.

Parameters
timer- The timer id.

◆ sceSTimerStopCount()

void sceSTimerStopCount ( SceSysTimerId  timer)

Stop the current SysTimer timer count.

Parameters
timer- The timer id.

◆ SysTimerForKernel_53231A15()

void SysTimerForKernel_53231A15 ( SceSysTimerId  timer,
int  unk1 
)

◆ SysTimerForKernel_B53534B4()

void SysTimerForKernel_B53534B4 ( SceSysTimerId  timer,
int  unk1,
int  unk2 
)