Datasheet
Section 13 Timer Z
Rev. 2.00 Sep. 23, 2005 Page 205 of 472
REJ09B0160-0200
[1] Designate GR as an input capture
register by means of TIOR, and select
rising edge, falling edge, or both edges
as the input edge of the input capture
signal.
[2] Set the STR bit in TSTR to 1 to start the
TCNT counter operation.
[1]
Input selection
Select input edge of
input capture
[2]
Start counter operation
<Input capture operation>
Figure 13.16 Example of Input Capture Operation Setting Procedure
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.










