RX610 Group
15. 16-Bit Timer Pulse Unit (TPU)
R01UH0032EJ0120 Rev.1.20
Page 495 of 1006
Feb 20, 2013
(b)
When TPUm.TGRy is an input capture register
Figure 15.17 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.
Time
0532h
0F07h
0532h
0F07h
09FBh
0000h
TGRA
TCNT value
TIOCA
TGRC
0532h
09FBh
0F07h
Figure 15.17 Example of Buffer Operation (2)