English
Language : 

HD6433937 Datasheet, PDF (222/521 Pages) Hitachi Semiconductor – Hardware Manual
2. TCF increment timing
TCF is incremented by clock input (internal clock or external event input).
a. Internal clock operation
Bits CKSH2 to CKSH0 or CKSL2 to CKSL0 in TCRF select one of four internal clock
sources (ø/32, ø/16, ø/4, or øw/4) created by dividing the system clock (ø or øw).
b. External event operation
External event input is selected by clearing CKSL2 to 0 in TCRF. TCF can increment on
either the rising or falling edge of external event input. External event edge selection is set
by IEG3 in the interrupt controller's IEGR register. An external event pulse width of at
least 2 system clocks (ø) is necessary. Shorter pulses will not be counted correctly.
3. TMOFH/TMOFL output timing
In TMOFH/TMOFL output, the value set in TOLH/TOLL in TCRF is output. The output is
toggled by the occurrence of a compare match. Figure 9-6 shows the output timing.
ø
TMIF
(when IEG3 = 1)
Count input
clock
TCF
N
N+1
N
N+1
OCRF
N
N
Compare match
signal
TMOFH TMOFL
Figure 9-6 TMOFH/TMOFL Output Timing
210