vitasdk
Documentation of the vitasdk
|
Go to the source code of this file.
Typedefs | |
typedef SceInt32 | SceSysTimerId |
typedef void(* | SceSysTimerCallback) (SceSysTimerId timer, void *pUserData) |
Enumerations | |
enum | SceSysTimerType { SCE_SYSTIMER_TYPE_LONG = 1 , SCE_SYSTIMER_TYPE_WORD = 2 } |
enum | SceSysTimerClockSource { SCE_SYSTIMER_CLOCK_SOURCE_SYS = 0 , SCE_SYSTIMER_CLOCK_SOURCE_48MHZ = 3 } |
Functions | |
VITASDK_BUILD_ASSERT_EQ (4, SceSysTimerId) | |
SceSysTimerId | ksceKernelSysTimerAlloc (SceSysTimerType timerType) |
Allocate one of the system's timers. | |
int | ksceKernelSysTimerFree (SceSysTimerId timerId) |
Free an allocated system timer. | |
int | ksceKernelSysTimerStartCount (SceSysTimerId timerId) |
Start a timer. | |
int | ksceKernelSysTimerStopCount (SceSysTimerId timerId) |
Stop a timer. | |
int | ksceKernelSysTimerSetClockSource (SceSysTimerId timerId, SceSysTimerClockSource clockSource, SceUInt8 prescaleFactor) |
Configure the source clock signal for a timer. | |
int | ksceKernelSysTimerSetInterval (SceSysTimerId timerId, SceKernelSysClock interval) |
Set the timer interval. | |
int | ksceKernelSysTimerSetHandler (SceSysTimerId timerId, SceSysTimerCallback callback, SceUInt32 targetCPU, void *pUserData) |
Set the interrupt callback handler for the timer. | |
int | ksceKernelSysTimerGetCount (SceSysTimerId timerId, SceKernelSysClock *pCount) |
Get the timer count value. | |
int | ksceKernelSysTimerSetCount (SceSysTimerId timerId, SceKernelSysClock count) |
Set the timer count value. | |
int | ksceKernelSysTimerResetCount (SceSysTimerId timerId) |
Reset the timer count. | |