English
Language : 

HD64F3687GHV Datasheet, PDF (263/566 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 13 Timer Z
2. Output compare timing
The compare match signal is generated in the last state in which TCNT and GR match (when
TCNT changes from the matching value to the next value). When the compare match signal is
generated, the output value selected in TIOR is output at the compare match output pin
(FTIOA, FTIOB, FTIOC, or FTIOD). When TCNT matches GR, the compare match signal is
generated only after the next TCNT input clock pulse is input.
Figure 13.15 shows an example of the output compare timing.
φ
TCNT input
TCNT
GR
Compare match
signal
N
N+1
N
FTIOA to FTIOD
Figure 13.15 Output Compare Timing
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.
Rev. 3.00 Sep. 10, 2007 Page 229 of 528
REJ09B0216-0300