Figure 12.7 Input Capture Operating Example - Renesas H8 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8 Series:
Table of Contents

Advertisement

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 12.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
FTIOB
GRB
H'1000
H'AA55

Figure 12.7 Input Capture Operating Example

H'F000
Rev. 3.00 Sep. 14, 2006 Page 175 of 408
Section 12 Timer W
Time
H'55AA
REJ09B0105-0300

Advertisement

Table of Contents
loading

Table of Contents