Hitachi H8/3048 Hardware Manual page 352

Single-chip microcomputer
Table of Contents

Advertisement

— External clock source
www.DataSheet4U.com
Bits TPSC2 to TPSC0 in TCR select an external clock input pin (TCLKA to TCLKD),
and its valid edge or edges are selected by bits CKEG1 and CKEG0. The rising edge,
falling edge, or both edges can be selected.
The pulse width of the external clock signal must be at least 1.5 system clocks when a
single edge is selected, and at least 2.5 system clocks when both edges are selected.
Shorter pulses will not be counted correctly.
Figure 10-18 shows the timing when both edges are detected.
ø
External
clock input
TCNT input
TCNT
N – 1
Figure 10-18 Count Timing for External Clock Sources (when Both Edges are Detected)
N
340
N + 1

Advertisement

Table of Contents
loading

Table of Contents