class GBA::Timer
- GBA::Timer
- Reference
- Object
Defined in:
crab/gba/timer.crConstant Summary
-
EVENT_TYPES =
Slice[Scheduler::EventType::Timer0, Scheduler::EventType::Timer1, Scheduler::EventType::Timer2, Scheduler::EventType::Timer3]
-
PERIODS =
Slice[1, 64, 256, 1024]
Constructors
Instance Method Summary
- #[](io_addr : UInt32) : UInt8
- #[]=(io_addr : UInt32, value : UInt8) : Nil
- #cycles_until_overflow(num : Int) : Int32
- #get_current_tm(num : Int) : UInt16
- #overflow(num : Int) : Proc(Nil)
- #update_tm(num : Int) : Nil