English
Language : 

HD64F3048F16 Datasheet, PDF (393/903 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 10 16-Bit Integrated Timer Unit (ITU)
Input selection
1. Set TIOR to select the input capture function of a
general register and the rising edge, falling edge,
or both edges of the input capture signal. Clear the
port data direction bit to 0 before making these
Select input-capture input 1
TIOR settings.
Start counter
2 2. Set the STR bit to 1 in TSTR to start the timer
counter.
Input capture
Figure 10.23 Setup Procedure for Input Capture (Example)
Examples of input capture: Figure 10.24 illustrates input capture when the falling edge of
TIOCB and both edges of TIOCA are selected as capture edges. TCNT is cleared by input capture
into GRB.
TCNT value
H'0180
H'0160
H'0005
H'0000
TIOCB
TIOCA
GRA
GRB
Counter cleared by TIOCB
input (falling edge)
Time
H'0005
H'0160
H'0180
Figure 10.24 Input Capture (Example)
Rev. 3.00 Sep 27, 2006 page 365 of 872
REJ09B0325-0300