English
Language : 

HD64F36024FX Datasheet, PDF (179/386 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 11 Timer W
The TCNT value can be captured into a general register (GRA, GRB, GRC, or GRD) when a
signal level changes at an input-capture pin (FTIOA, FTIOB, FTIOC, or FTIOD). Capture can
take place on the rising edge, falling edge, or both edges. By using the input-capture function, the
pulse width and periods can be measured. Figure 11.7 shows an example of input capture when
both edges of FTIOA and the falling edge of FTIOB are selected as capture edges. TCNT operates
as a free-running counter.
TCNT value
H'FFFF
H'F000
H'AA55
H'55AA
H'1000
H'0000
FTIOA
GRA
H'1000
H'F000
Time
H'55AA
FTIOB
GRB
H'AA55
Figure 11.7 Input Capture Operating Example
Rev. 4.00 Sep. 23, 2005 Page 151 of 354
REJ09B0025-0400