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