9. Timers
Rev.3.00 Jul. 19, 2007 page 239 of 532
REJ09B0397-0300
TCF Count Timing:
TCF is incremented by each pulse of the input clock (internal or external
clock).
•
Internal clock
The settings of bits CKSH2 to CKSH0 or bits CKSL2 to CKSL0 in TCRF select one of four
internal clock signals divided from the system clock (
φ
), namely,
φ
/32,
φ
/16,
φ
/4, or
φ
/2.
•
External clock
External clock input is selected by clearing bit CKSL2 to 0 in TCRF. Either rising or falling
edges of the clock input can be counted. The edge of an external event is selected by bit IEG3
in the interrupt controller's IEGR register. An external event pulse width of at least two system
clock (
φ
) cycles is necessary for correct operation of the counter.
TMOFH and TMOFL Output Timing:
The outputs at pins TMOFH and TMOFL are the values
set in bits TOLH and TOLL in TCRF. When a compare match occurs, the output value is inverted.
Figure 9.7 shows the output timing.
φ
TMIF
(when IEG3 = 1)
Count input
clock
TCF
OCRF
Compare match
signal
TMOFH, TMOFL
N
N + 1
N
N + 1
N
N
Figure 9.7 TMOFH, TMOFL Output Timing
TCF Clear Timing:
TCF can be cleared at compare match with OCRF.
Summary of Contents for F-ZTAT H8 Series
Page 6: ...Rev 3 00 Jul 19 2007 page iv of xxiv REJ09B0397 0300...
Page 194: ...7 RAM Rev 3 00 Jul 19 2007 page 168 of 532 REJ09B0397 0300...
Page 234: ...8 I O Ports Rev 3 00 Jul 19 2007 page 208 of 532 REJ09B0397 0300...
Page 274: ...9 Timers Rev 3 00 Jul 19 2007 page 248 of 532 REJ09B0397 0300...
Page 352: ...12 A D Converter Rev 3 00 Jul 19 2007 page 326 of 532 REJ09B0397 0300...
Page 561: ......