Hardware/Starlet Timer
< Hardware
Jump to navigation
Jump to search
Starlet Timer | |
Hollywood Registers | |
Access | |
---|---|
Broadway | None |
Starlet | Full |
Registers | |
Base | 0x0d800010 |
Length | 0x8 |
Access size | 32 bits |
Byte order | Big Endian |
IRQs | |
Hollywood | 0 |
The Hollywood includes a simple 32-bit timer running at 1/128th of the Starlet core clock frequency (~243Mhz). This timer can generate an interrupt at a preset alarm point.
Register List
Starlet Timer | |||
---|---|---|---|
Address | Bits | Name | Description |
0x0d800010 | 32 | HW_TIMER | Timer counter |
0x0d800014 | 32 | HW_ALARM | Alarm value |
Register descriptions
HW_TIMER (0x0d800010) | |
310 | |
Access | R/W |
The timer register is incremented every 1/128th of the core clock frequency, or around every 526.7 nanoseconds. The timer's period is therefore around 37.7 minutes, after which it wraps around. It can be written to to reset it to an arbitrary time.
HW_ALARM (0x0d800014) | |
310 | |
Access | R/W |
This register sets the timer alarm. When the timer register equals the value stored here, Hollywood IRQ #0 is generated.