User manual

Timer_B Operation
13-15Timer_B
Output Example—Timer in Up Mode
The OUTx signal is changed when the timer counts up to the TBCLx value, and
rolls from TBCL0 to zero, depending on the output mode. An example is shown
in Figure 1312 using TBCL0 and TBCL1.
Figure 1312. Output ExampleTimer in Up Mode
0h
TBR
(max)
EQU0
TBIFG
Output Mode 1: Set
Output Mode 2: Toggle/Reset
Output Mode 3: Set/Reset
Output Mode 4: Toggle
Output Mode 5: Reset
Output Mode 6: Toggle/Set
Output Mode 7: Reset/Set
TBCL0
TBCL1
EQU1 EQU0
TBIFG
EQU1 EQU0
TBIFG
Interrupt Events