PS2SDK
PS2 Homebrew Libraries
xtimrman.h File Reference
#include <timrman.h>
+ Include dependency graph for xtimrman.h:
+ This graph shows which files directly or indirectly include this file:

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, 2)
 
#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 *userdata), void *common)
 
int SetOverflowHandler (int timid, unsigned int(*handler)(void *userdata), void *common)
 
int SetupHardTimer (int timid, int source, int mode, int prescale)
 
int StartHardTimer (int timid)
 
int StopHardTimer (int timid)
 

Detailed Description

Additional timrman functions only found in newer IOPRP images

Definition in file xtimrman.h.