Section 9 Timers
Rev. 6.00 Aug 04, 2006 page 289 of 680
REJ09B0145-0600
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
OCRF
TMOFH TMOFL
Compare match
signal
N
N
N
N
N+1
N+1
Figure 9.6 TMOFH/TMOFL Output Timing
Summary of Contents for H8/38342
Page 8: ...Rev 6 00 Aug 04 2006 page vi of xxxvi...
Page 12: ...Rev 6 00 Aug 04 2006 page x of xxxvi...
Page 38: ...Rev 6 00 Aug 04 2006 page xxxvi of xxxvi...
Page 76: ...Section 1 Overview Rev 6 00 Aug 04 2006 page 38 of 680 REJ09B0145 0600...
Page 240: ...Section 7 RAM Rev 6 00 Aug 04 2006 page 202 of 680 REJ09B0145 0600...
Page 468: ...Section 12 A D Converter Rev 6 00 Aug 04 2006 page 430 of 680 REJ09B0145 0600...
Page 580: ...Section 15 Electrical Characteristics Rev 6 00 Aug 04 2006 page 542 of 680 REJ09B0145 0600...