Datasheet

Section 13 Timer Z
Rev. 3.00 Sep. 10, 2007 Page 231 of 528
REJ09B0216-0300
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.
FTIOA
TCNT value
Counter cleared by FTIOB input (falling edge)
Time
FTIOB
GRA H'0005
H'0005
H'0000
H'0160
H'0160
GRB H'0180
H'0180
Figure 13.17 Example of Input Capture Operation