Datasheet
ARMulator Reference
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-77
4.16.2 Timer
The base address of the timer,
TimerBase
, is configurable (see Timer on page 2-34).
See Table 4-12 for the location of individual registers.
Timer load registers
Write a value to one of these registers to set the initial value of the corresponding timer
counter. You must write the top 16 bits as zeroes.
If the timer is in periodic mode, this value is also reloaded to the timer counter when the
counter reaches zero.
If you read from this register, the bottom 16 bits return the value that you wrote. The top
16 bits are undefined.
Timer value registers
Timer value registers are read-only. The bottom 16 bits give the current value of the
timer counter. The top 16 bits are undefined.
Table 4-12 Timer memory map
Address Read Write
TimerBase
Timer1Load Timer1Load
TimerBase + 04
Timer1Value Reserved
TimerBase + 08
Timer1Control Timer1Control
TimerBase + 0C
Reserved Timer1Clear
TimerBase + 10
Reserved Reserved
TimerBase + 20
Timer2Load Timer2Load
TimerBase + 24
Timer2Value Reserved
TimerBase + 28
Timer2Control Timer2Control
TimerBase + 2C
Reserved Timer2Clear
TimerBase + 30
Reserved Reserved