Section 9 16-Bit Timer Pulse Unit (TPU)
(b) Example of input capture operation
Figure 9.10 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, 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'0160
H'0010
H'0005
H'0000
TIOCA
TGRA
TIOCB
TGRB
Rev. 3.00 Mar. 14, 2006 Page 304 of 804
REJ09B0104-0300
Downloaded from
Elcodis.com
electronic components distributor
H'0005
Figure 9.10 Example of Input Capture Operation
Counter cleared by TIOCB
input (falling edge)
H'0160
H'0180
Time
H'0010