Datasheet

Section 13 Timer Z
Rev. 3.00 Sep. 10, 2007 Page 230 of 528
REJ09B0216-0300
[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