Changes

no edit summary
Line 7: Line 7:  
| hwdirq = 0
 
| hwdirq = 0
 
}}
 
}}
{{hwstub}}
+
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 ==
 +
{{reglist|Starlet Timer}}
 +
{{rla|0x0d800010|32|HW_TIMER|Timer counter}}
 +
{{rla|0x0d800014|32|HW_ALARM|Alarm value}}
 +
|}
 +
 
 +
== Register descriptions ==
 +
{{regsimple|HW_TIMER|addr=0x0d800010|bits=32|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.
 +
----
 +
{{regsimple|HW_ALARM|addr=0x0d800014|bits=32|access=R/W}}
 +
This register sets the timer alarm. When the timer register equals the value stored here, Hollywood IRQ #0 is generated.