R01UH0823EJ0100 Rev.1.00
Page 688 of 1823
Jul 31, 2019
RX23W Group
25. 16-Bit Timer Pulse Unit (TPUa)
(b) Example of input capture operation
shows an example of input capture operation when the noise filter is stopped.
In this example, both rising and falling edges have been selected as the TIOCAn pin input capture input edge, the falling
edge has been selected as the TIOCBn pin input capture input edge, and counter clearing by TPUm.TGRB input capture
has been set for TPUm.TCNT.
Figure 25.9
Example of Input Capture Operation (with Noise Filter Stopped) (n = 3, 4)
If noise filtering is enabled, input capture operation is performed on the edges of noise-filtered signal after a delay of
(minimum sampling interval × 2 + PCLK) due to noise filtering for the input capture input.
Time
Counter cleared by TIOCB input
(falling edge)
TCNT value
0160h
0000h
TIOCBn
TIOCAn
TGRB
TGRA
0180h
0005h
0010h
0005h
0160h
0010h
0180h