R01UH0822EJ0100 Rev.1.00
Page 402 of 1041
Jul 31, 2019
RX13T Group
19. Multi-Function Timer Pulse Unit 3 (MTU3c)
(4) Cascaded Operation Example (c)
illustrates the operation when MTU1.TCNT and MTU2.TCNT have been cascaded and the TICCR.I2AE
and I1AE bits have been set to 1 to include the MTIOC2A and MTIOC1A pins in the MTU1.TGRA and MTU2.TGRA
input capture conditions, respectively. In this example, the IOA[3:0] bits in both MTU1.TIOR and MTU2.TIOR have
selected both the rising and falling edges for the input capture timing. Under these conditions, the ORed result of
MTIOC1A and MTIOC2A input is used for the MTU1.TGRA and MTU2.TGRA input capture conditions.
Figure 19.23
Cascaded Operation Example (c)
MTU2.TCNT value
Time
0514h
0514h
0513h
0512h
0513h
0512h
C256h
6128h
2064h
9192h
0000h
MTU1.TGRA
MTU2.TGRA
MTIOC1A
MTIOC2A
MTU1.TCNT
C256h
FFFFh
6128h
2064h
9192h
*1
*1
Note 1. When either of the input signals is driven high, the selected edge of
the other cannot act as the input capture condition.