Datasheet

78K0/Ix2 CHAPTER 6 16-BIT TIMERS X0 AND X1
R01UH0010EJ0500 Rev.5.00 237
Feb 28, 2012
Figure 6-46. Example of Register Settings for Interlocking mode 1 (timer reset mode)
Using CMP2 and INTP0 as triggers
0TX0CTL3 0 0 0 0
Uses CMP2 as trigger
101
Uses INTP0 as trigger
Remark When interlocking the timers with either CMP2 or INTP0, set all bits of CMP2 or INTP0, whichever is
not used, to 0.
Using CMP0 and CMP1 as triggers
0TX0CTL4 0 0/1 0 1
Uses CMP0 as trigger
TX0CMP0RP = 0: Interlocks with TMX0
TX0CMP0RP = 1: Interlocks with TMX1
0/1 0 1
TX0CMP0RPTX0CMP1RP
Uses CMP1 as trigger
TX0CMP1RP = 0: Interlocks with TMX0
TX0CMP1RP = 1: Interlocks with TMX1
Remark When interlocking the timers with either CMP0 or CMP1, set all bits of CMP0 or CMP1, whichever is
not used, to 0.
Figure 6-47. Timing of Interlocking mode 1 (timer reset mode)
FFFFH
16-bit timer counter Xn
0000H
16-bit timer X0 compare
buffer register 0
D
0
Reset
D
1
16-bit timer X0 compare
buffer register 2
D
2
D
3
TOXn0 pin output
(TXnTOL0 = 0)
D
0
D
1
D
2
D
3
D
0
D
1
D
2
Comparator output or
INTP0 input
16-bit timer X0 compare
buffer register 1
16-bit timer X0 compare
buffer register 3
TOXn1 pin output
(TXnTOL1 = 0)
D
0
Reset
Remark n = 0, 1