179
TCNTV Increment Timing: TCNTV is incremented by an input (internal or external) clock.
•
Internal clock
One of six clocks (ø/128, ø/64, ø/32, ø/16, ø/8, ø/4) divided from the system clock (ø) can be
selected by bits CKS2 to CKS0 in TCRV0 and bit ICKS0 in TCRV1. Figure 11.2 shows the
timing.
N – 1
N + 1
N
ø
Internal clock
TCNTV input
clock
TCNTV
Figure 11.2 Increment Timing with Internal Clock
•
External clock
Incrementation on the rising edge, falling edge, or both edges of the external clock can be
selected by bits CKS2 to CKS0 in TCRV0.
The external clock pulse width should be at least 1.5 system clocks (ø) when a single edge is
counted, and at least 2.5 system clocks when both edges are counted. Shorter pulses will not be
counted correctly.
Figure 11.3 shows the timing when both the rising and falling edges of the external clock are
selected.
N – 1
N + 1
N
ø
TMCIV
(External clock
input pin)
TCNTV input
clock
TCNTV
Figure 11.3 Increment Timing with External Clock
Summary of Contents for H8/3660
Page 4: ......
Page 26: ...10 ...
Page 82: ...66 ...
Page 152: ...136 ...
Page 154: ...138 ...
Page 260: ...244 ...