CHAPTER 7 16-BIT TIMER/EVENT COUNTER 0
User’s Manual U16896EJ2V0UD
249
Figure 7-14. Timing Example of Clear & Start Mode Entered by TI010 Pin Valid Edge Input
(CR010 Register: Compare Register, CR011 Register: Compare Register)
(a) TOC01 = 13H, PRM01 = 10H, CRC01 = 00H, TMC01 = 08H
TM01 register
0000H
Operable bits
(TMC013, TMC012)
Count clear input
(TI010 pin input)
Compare register
(CR010)
Compare match interrupt
(INTTM010)
Compare register
(CR011)
Compare match interrupt
(INTTM011)
TO01 pin output
M
10
M
N
N
N
N
M
M
M
00
N
(b) TOC01 = 13H, PRM01 = 10H, CRC01, = 00H, TMC01 = 0AH
TM01 register
0000H
Operable bits
(TMC013, TMC012)
Count clear input
(TI010 pin input)
Compare register
(CR010)
Compare match interrupt
(INTTM010)
Compare register
(CR011)
Compare match interrupt
(INTTM011)
TO01 pin output
M
10
M
N
N
N
N
M
M
M
00
N
(a) and (b) differ as follows depending on the setting of the TMC01 register (TMC011 bit).
(a) The output level of the TO01 pin is inverted when the TM01 register matches a compare register.
(b) The output level of the TO01 pin is inverted when the TM01 register matches a compare register or
when the valid edge of the TI010 pin
is detected.