HD6413003RVF RENESAS [Renesas Technology Corp], HD6413003RVF Datasheet - Page 348

no-image

HD6413003RVF

Manufacturer Part Number
HD6413003RVF
Description
microcontroller (MCU)
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
H'0180
H'0160
H'0005
H'0000
TIOCB
TIOCA
GRA
GRB
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.
Select input-capture input
TCNT value
Input selection
Input capture
Start counter
Figure 10-23 Setup Procedure for Input Capture (Example)
H'0005
Figure 10-24 Input Capture (Example)
1
2
1.
2.
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
TIOR settings.
Set the STR bit to 1 in TSTR to start the timer
counter.
330
H'0160
Counter cleared by TIOCB
input (falling edge)
H'0180
Time

Related parts for HD6413003RVF