English
Language : 

HD64F3687HV Datasheet, PDF (241/538 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Tiny Series
Section 13 Timer Z
13.4.3 Input Capture Function
The TCNT value can be transferred to GR on detection of the input edge of the input
capture/output compare pin (FTIOA, FTIOB, FTIOC, or FTIOD). Rising edge, falling edge, or
both edges can be selected as the detected edge. When the input capture function is used, the pulse
width or period can be measured.
Figure 13.16 shows an example of the input capture operation setting procedure.
Input selection
Select input edge of
input capture
[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
[1]
TCNT counter operation.
Start counter operation [2]
<Input capture operation>
Figure 13.16 Example of Input Capture Operation Setting Procedure
Rev.5.00 Nov. 02, 2005 Page 207 of 500
REJ09B0027-0500