32-kHz Timer
7-49
MPU Public Peripherals
Table 7–38. Timer Control Register (CR)
Bit
Name
Value
Function
Reset
Value
31–4
Reserved
3
ARL
Autoreload/start
1
0
One-shot mode. When the counter reaches
zero, an interrupt is generated and the timer is
stopped.
1
Sets the timer to autorestart mode
2
IT_ENA
Interrupt enable
0
0
Interrupt disabled
1
Interrupt enabled
1
TRB
Timer reload bit
TRB = 1 reloads the counter. Once the counter
is reloaded, TRB is set to 0.
0
0
TSS
Timer start/stop
0
0
Stop timer
1
Start timer
If one-shot mode is selected (ARL = 0), this bit
is automatically reset by internal logic when
timer is equal to 0.
Table 7–39. Tick Value Register (TVR)
Bit
Name
Function
Reset
Value
31–24
Reserved
23–0
TICK_VALUE_REG
This value is loaded when timer passes through 0 or
when it starts.
0xFFFFFF
Table 7–40. Tick Counter Register (TCR)
Bit
Name
Function
Reset
Value
31–24
Reserved
23–0
TICK_COUNTER_REG
Value of timer
0xFFFFFF