Timers
8-6
8.2.4
Timer Registers
Table 8–4 lists the timer registers. Table 8–5 through Table 8–12 describe the
register bits.
Table 8–4. Timer Registers
Register Name
Description
R/W
Size (Bits)
Offset
Reset Value
CNTL_TIMER
Control timer
R/W
16
0x00
0x0002
LOAD_TIM_HI
Load timer—high
W
16
0x02
0xFFFF
LOAD_TIM_LO
Load timer—low
W
16
0x03
0xFFFF
READ_TIM
Read timer
R
16
0x02
0xFFFF
TIMER_MODE
Timer mode
R/W
16
0x04
0x8000
Table 8–5. Control Timer Register (CNTL_TIMER)
Bit
Name
Value
Descriptions
Reset
Value
15–8
Unused
7
SOFT
This bit is used with the FREE bit to determine peripheral
state when a breakpoint is encountered. Used in emulation
mode.
0
0
Peripheral halts immediately, either retaining or discarding
current state.
1
Peripheral stops after completion of current task.
6
FREE
This bit is used with the SOFT bit to determine peripheral
state when a breakpoint is encountered. Used in emulation
mode.
0
0
SOFT bit selects emulation mode.
1
Peripheral clock runs free regardless of the SOFT bit.
5
CLOCK_ENABLE
External timer clock enable
0
4–2
PTV
Prescale clock timer value
0
1
AR
0
0: One-shot timer
0
1
Autoreload timer