R01UH0823EJ0100 Rev.1.00
Page 529 of 1823
Jul 31, 2019
RX23W Group
23. Multi-Function Timer Pulse Unit 2 (MTU2a)
(b) When TGR register is an Input Capture Register
shows an operation example in which the TGRA register has been designated as an input capture register,
and buffer operation has been designated for registers TGRA and TGRC.
Counter clearing by TGRA input capture has been set for the TCNT counter, and both rising and falling edges have been
selected as the MTIOCnA pin input capture input edge.
As buffer operation has been set, when the TCNT value is transferred to the TGRA register upon occurrence of input
capture A, the value previously stored in the TGRA register is simultaneously transferred to the TGRC register.
Figure 23.18
Example of Buffer Operation (2)
TCNT value
Time
0532h
0F07h
0532h
0F07h
09FBh
09FBh
0000h
TGRC
MTIOCnA
TGRA
0F07h
0532h
(n = 0 to 4)