R01UH0822EJ0100 Rev.1.00
Page 392 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(b) Example of Input Capture Operation
shows an example of input capture operation.
In this example, both rising and falling edges have been selected as the MTIOCnA pin input capture input edge, the
falling edge has been selected as the MTIOCnB pin input capture input edge, and counter clearing by TGRB input
capture has been designated for TCNT. (n = 0 to 4)
Figure 19.11
Example of Input Capture Operation (n = 0 to 4)
TCNT value
0180h
0000h
MTIOCnA
TGRA
Time
0010h
0005h
0160h
0005h
0160h
0010h
TGRB
0180h
MTIOCnB
Counter cleared by MTIOCnB
input (falling edge)