Renesas F-ZTAT H8 Series Hardware Manual page 265

8-bit single-chip microcomputer
Hide thumbs Also See for F-ZTAT H8 Series:
Table of Contents

Advertisement

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
TCF Clear Timing: TCF can be cleared at compare match with OCRF.
N
N + 1
N
Figure 9.7 TMOFH, TMOFL Output Timing
N
N
Rev.3.00 Jul. 19, 2007 page 239 of 532
9. Timers
N + 1
REJ09B0397-0300

Advertisement

Table of Contents
loading

Table of Contents