21.3.3.1 16-bit Timer with Auto-Reload
When TnSPLIT is zero, the timer operates as a 16-bit timer with auto-reload. In this mode, the selected clock source increments the
timer on every clock. As the 16-bit timer register increments and overflows from 0xFFFF to 0x0000, the 16-bit value in the timer reload
registers (TMRnRLH and TMRnRLL) is loaded into the main timer count register, and the High Byte Overflow Flag (TFnH) is set. If the
timer interrupts are enabled, an interrupt is generated on each timer overflow. Additionally, if the timer interrupts are enabled and the
TFnLEN bit is set, an interrupt is generated each time the lower 8 bits (TMRnL) overflow from 0xFF to 0x00.
The overflow rate of the timer in split 16-bit auto-reload mode is:
F
TIMERn
=
F
Input Clock
2
16
– TMRnRLH:TMRnRLL
=
F
Input Clock
65536 – TMRnRLH:TMRnRLL
TMRnL
TMRnH
Reload
Interrupt
TFnL
Overflow
TFnH
Overflow
TMRnRLL
TMRnRLH
TFnLEN
TRn
Timer Low Clock
Figure 21.6. 16-Bit Mode Block Diagram
EFM8SB2 Reference Manual
Timers (Timer0, Timer1, Timer2, and Timer3)
silabs.com
| Smart. Connected. Energy-friendly.
Rev. 0.1 | 251