Product Info

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 701 of 1852
Nov 30, 2020
RX23W Group 25. 16-Bit Timer Pulse Unit (TPUa)
(b) When TPUm.TGRy is an input capture register
Figure 25.16 shows an operation example in which TPUm.TGRA has been set as an input capture register, and buffer
operation has been set for the TGRA register and TPUm.TGRC.
Counter clearing by TGRA input capture has been set for TPUm.TCNT, and both rising and falling edges have been
selected as the TIOCAn pin input capture input edge.
As buffer operation has been set, when the TCNT value is stored in TGRA upon occurrence of input capture A, the value
previously stored in TGRA is simultaneously transferred to TGRC.
Figure 25.16 Example of Buffer Operation (2) (n = 3)
Time
0532h
0F07h0532h
0F07h
09FBh
0000h
TGRA
TCNT value
TIOCAn
TGRC
0532h
09FBh
0F07h