PS2SDK
PS2 Homebrew Libraries
|
#include <timrman.h>
Go to the source code of this file.
Macros | |
#define | TC_SYSCLOCK 1 |
#define | TC_PIXEL 2 |
#define | TC_HLINE 4 |
#define | xtimrman_IMPORTS_start DECLARE_IMPORT_TABLE(timrman, 1, 1) |
#define | xtimrman_IMPORTS_end END_IMPORT_TABLE |
#define | I_SetTimerHandler DECLARE_IMPORT(20, SetTimerHandler) |
#define | I_SetOverflowHandler DECLARE_IMPORT(21, SetOverflowHandler) |
#define | I_SetupHardTimer DECLARE_IMPORT(22, SetupHardTimer) |
#define | I_StartHardTimer DECLARE_IMPORT(23, StartHardTimer) |
#define | I_StopHardTimer DECLARE_IMPORT(24, StopHardTimer) |
Functions | |
int | SetTimerHandler (int timid, unsigned long comparevalue, unsigned int(*timeuphandler)(void *), void *common) |
int | SetOverflowHandler (int timid, unsigned int(*handler)(void *), void *common) |
int | SetupHardTimer (int timid, int source, int mode, int prescale) |
int | StartHardTimer (int timid) |
int | StopHardTimer (int timid) |
Additional timrman functions only found in newer IOPRP images
Definition in file xtimrman.h.
#define TC_SYSCLOCK 1 |
Definition at line 25 of file xtimrman.h.
#define TC_PIXEL 2 |
Definition at line 26 of file xtimrman.h.
#define TC_HLINE 4 |
Definition at line 27 of file xtimrman.h.
#define xtimrman_IMPORTS_start DECLARE_IMPORT_TABLE(timrman, 1, 1) |
Definition at line 35 of file xtimrman.h.
#define xtimrman_IMPORTS_end END_IMPORT_TABLE |
Definition at line 36 of file xtimrman.h.
#define I_SetTimerHandler DECLARE_IMPORT(20, SetTimerHandler) |
Definition at line 38 of file xtimrman.h.
#define I_SetOverflowHandler DECLARE_IMPORT(21, SetOverflowHandler) |
Definition at line 39 of file xtimrman.h.
#define I_SetupHardTimer DECLARE_IMPORT(22, SetupHardTimer) |
Definition at line 40 of file xtimrman.h.
#define I_StartHardTimer DECLARE_IMPORT(23, StartHardTimer) |
Definition at line 41 of file xtimrman.h.
#define I_StopHardTimer DECLARE_IMPORT(24, StopHardTimer) |
Definition at line 42 of file xtimrman.h.
int SetTimerHandler | ( | int | timid, |
unsigned long | comparevalue, | ||
unsigned int(*)(void *) | timeuphandler, | ||
void * | common | ||
) |
int SetOverflowHandler | ( | int | timid, |
unsigned int(*)(void *) | handler, | ||
void * | common | ||
) |
int SetupHardTimer | ( | int | timid, |
int | source, | ||
int | mode, | ||
int | prescale | ||
) |