KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Channels

TMU channel constants. More...

Macros

#define TMU0   0
 SH4 Timer Channel 0.
 
#define TMU1   1
 SH4 Timer Channel 1.
 
#define TMU2   2
 SH4 Timer Channel 2.
 

Detailed Description

TMU channel constants.

The following are the constant #define identifiers for the 3 TMU channels.

Warning
All three of these channels are typically reserved and are by KOS for OS-related tasks.

Macro Definition Documentation

◆ TMU0

#define TMU0   0

SH4 Timer Channel 0.

Warning
This timer is used by the kernel's scheduler for thread operation, and thus is off limits if you want that to work properly.

◆ TMU1

#define TMU1   1

SH4 Timer Channel 1.

Warning
This timer channel is used for the timer_spin_sleep() function, which also backs the kthread, C, C++, and POSIX sleep functions.

◆ TMU2

#define TMU2   2

SH4 Timer Channel 2.

Warning
This timer channel is used by the various gettime functions in this header. It also backs the standard C, C++, and POSIX date/time and clock functions.