Timer_B Operation
13-7Timer_B
Continuous Mode
In continuous mode the timer repeatedly counts up to TBR
(max)
and restarts
from zero as shown in Figure 13−4. The compare latch TBCL0 works the same
way as the other capture/compare registers.
Figure 13−4. Continuous Mode
0h
TBR
(max)
The TBIFG interrupt flag is set when the timer counts from TBR
(max)
to zero.
Figure 13−5 shows the flag set cycle.
Figure 13−5. Continuous Mode Flag Setting
TBR
(max)
−1 TBR
(max)
0h
Timer Clock
Timer
Set TBIFG
1h TBR
(max)
0hTBR
(max)
−1