Section 11 Multi-Function Timer Pulse Unit 2
Page 522 of 2108 R01UH0134EJ0400 Rev. 4.00
Sep 24, 2014
SH7262 Group, SH7264 Group
(4) Cascaded Operation Example (c)
Figure 11.23 illustrates the operation when TCNT_1 and TCNT_2 have been cascaded and the
I2AE and I1AE bits in TICCR have been set to 1 to include the TIOC2A and TIOC1A pins in the
TGRA_1 and TGRA_2 input capture conditions, respectively. In this example, the IOA0 to IOA3
bits in both TIOR_1 and TIOR_2 have selected both the rising and falling edges for the input
capture timing. Under these conditions, the ORed result of TIOC1A and TIOC2A input is used for
the TGRA_1 and TGRA_2 input capture conditions.
TCNT_2 value
H'0000
TGRA_1
TGRA_2
Time
TIOC1A
TIOC2A
TCNT_1
H'0514
H'0514
H'0513H'0512
H'0513H'0512
H'C256
H'C256
H'FFFF
H'6128
H'6128
H'2064
H'2064
H'9192
H'9192
When one of the input pin signals is high-level, the edge of
the other input pin signal cannot be the input capture condition.
Figure 11.23 Cascaded Operation Example (c)