Section 13 Timer Z
1. Example of input capture operation
Figure 13.17 shows an example of input capture operation.
In this example, both rising and falling edges have been selected as the FTIOA pin input
capture input edge, the falling edge has been selected as the FTIOB pin input capture input
edge, and counter clearing by GRB input capture has been designated for TCNT.
Counter cleared by FTIOB input (falling edge)
TCNT value
H'0180
H'0160
H'0005
H'0000
Time
FTIOB
FTIOA
GRA
GRB
H'0005
H'0160
H'0180
Figure 13.17 Example of Input Capture Operation
Rev. 3.00 Sep. 10, 2007 Page 231 of 528
REJ09B0216-0300