Renesas SH7264 User Manual

Page of 2152
 
 
Section 11   Multi-Function Timer Pulse Unit 2 
 
Page 512 of 2108 
 
R01UH0134EJ0400  Rev. 4.00 
 
 Sep 
24, 
2014 
SH7262 Group, SH7264 Group
(b)  Example of Input Capture Operation 
Figure 11.11 shows an example of input capture operation. 
In this example both rising and falling edges have been selected as the TIOCA pin input capture 
input edge, the falling edge has been selected as the TIOCB pin input capture input edge, and 
counter clearing by TGRB input capture has been designated for TCNT. 
TCNT value
H'0180
H'0000
TIOCA
TGRA
H'0010
H'0005
Counter cleared by TIOCB
input (falling edge)
H'0160
H'0005
H'0160
H'0010
TGRB
H'0180
TIOCB
Time
 
Figure 11.11   Example of Input Capture Operation