Renesas R5S72621 Manual Do Utilizador

Página de 2152
 
Section 11   Multi-Function Timer Pulse Unit 2 
 
R01UH0134EJ0400  Rev. 4.00  
 
Page 523 of 2108 
Sep 24, 2014 
 
 
 
SH7262 Group, SH7264 Group 
(5)  Cascaded Operation Example (d) 
Figure 11.24 illustrates the operation when TCNT_1 and TCNT_2 have been cascaded and the 
I2AE bit in TICCR has been set to 1 to include the TIOC2A pin in the TGRA_1 input capture 
conditions. In this example, the IOA0 to IOA3 bits in TIOR_1 have selected TGRA_0 compare 
match or input capture occurrence for the input capture timing while the IOA0 to IOA3 bits in 
TIOR_2 have selected the TIOC2A rising edge for the input capture timing. 
Under these conditions, as TIOR_1 has selected TGRA_0 compare match or input capture 
occurrence for the input capture timing, the TIOC2A edge is not used for TGRA_1 input capture 
condition although the I2AE bit in TICCR has been set to 1. 
TCNT_2 value
H'0000
H'0000
TGRA_1
TGRA_2
Time
TIOC1A
TIOC2A
TCNT_1
H'0513
H'0512
H'0513
H'D000
H'FFFF
H'D000
TCNT_0 value
Time
TGRA_0
Compare match between TCNT_0 and TGRA_0
 
Figure 11.24   Cascaded Operation Example (d)