English
Language : 

HD64F38602R Datasheet, PDF (201/552 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
Section 10 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 10.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 10.7 Input Capture Operating Example
Rev. 3.00 May 15, 2007 Page 169 of 518
REJ09B0152-0300