ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
#include <tamtypes.h>
Go to the source code of this file.
Macros | |
#define | T0_COUNT ((volatile unsigned int*)0x10000000) |
#define | T0_MODE ((volatile unsigned int*)0x10000010) |
#define | T0_COMP ((volatile unsigned int*)0x10000020) |
#define | T0_HOLD ((volatile unsigned int*)0x10000030) |
#define | T1_COUNT ((volatile unsigned int*)0x10000800) |
#define | T1_MODE ((volatile unsigned int*)0x10000810) |
#define | T1_COMP ((volatile unsigned int*)0x10000820) |
#define | T1_HOLD ((volatile unsigned int*)0x10000830) |
#define | T2_COUNT ((volatile unsigned int*)0x10001000) |
#define | T2_MODE ((volatile unsigned int*)0x10001010) |
#define | T2_COMP ((volatile unsigned int*)0x10001020) |
#define | T3_COUNT ((volatile unsigned int*)0x10001800) |
#define | T3_MODE ((volatile unsigned int*)0x10001810) |
#define | T3_COMP ((volatile unsigned int*)0x10001820) |
#define | Tn_MODE(CLKS, GATE, GATS, GATM, ZRET, CUE, CMPE, OVFE, EQUF, OVFF) |
#define | kBUSCLK (147456000) |
#define | kBUSCLKBY16 (kBUSCLK / 16) |
#define | kBUSCLKBY256 (kBUSCLK / 256) |
#define | kHBLNK_NTSC (15734) |
#define | kHBLNK_PAL (15625) |
#define | kHBLNK_DTV480p (31469) |
#define | kHBLNK_DTV1080i (33750) |
Functions | |
u32 | cpu_ticks (void) |
Timer prototypes
Definition in file timer.h.
#define Tn_MODE | ( | CLKS, | |
GATE, | |||
GATS, | |||
GATM, | |||
ZRET, | |||
CUE, | |||
CMPE, | |||
OVFE, | |||
EQUF, | |||
OVFF | |||
) |
u32 cpu_ticks | ( | void | ) |