timers
This is an old revision of the document!
Timers
The gamepad has the following timer registers: (TODO word better)
Address | Desc. |
---|---|
0xF0000410 | Timer 0 control |
0xF0000414 | Timer 0 counter |
0xF0000418 | Timer 0 target |
Timer 0
0xF0000410
Timer control.
Bits | Desc. |
---|---|
0 | ?? |
1 | Timer enable |
4-6 | Prescaler? |
0xF0000414
Counter. Can be written to, the timer will count from the new value.
When the timer goes past the target, the timer is reloaded to 0 and IRQ 0x00 is triggered.
Writing a new value greater than the target does not cause a reload.
0xF0000418
Target.
Before a reload, the last value the timer takes is equal to the target.
timers.1727113891.txt.gz · Last modified: 2024/09/23 17:51 by arisotura