Renesas F-ZTAT H8 Series Hardware Manual page 372

Hide thumbs Also See for F-ZTAT H8 Series:
Table of Contents

Advertisement

Section 10 16-Bit Integrated Timer Unit (ITU)
TCNT value
GR
H'0000
STR bit
IMF
• TCNT count timing
 Internal clock source
Bits TPSC2 to TPSC0 in TCR select the system clock (φ) or one of three internal clock
sources obtained by prescaling the system clock (φ/2, φ/4, φ/8).
Figure 10.17 shows the timing.
φ
Internal
clock
TCNT input
TCNT
N – 1
Figure 10.17 Count Timing for Internal Clock Sources
 External clock source
Bits TPSC2 to TPSC0 in TCR select an external clock input pin (TCLKA to TCLKD), and
its valid edge or edges are selected by bits CKEG1 and CKEG0. The rising edge, falling
edge, or both edges can be selected.
The pulse width of the external clock signal must be at least 1.5 system clocks when a
single edge is selected, and at least 2.5 system clocks when both edges are selected. Shorter
pulses will not be counted correctly.
Figure 10.18 shows the timing when both edges are detected.
Rev. 3.00 Mar 21, 2006 page 344 of 814
REJ09B0302-0300
Figure 10.16 Periodic Counter Operation
Counter cleared by general
register compare match
N
Time
N + 1

Advertisement

Table of Contents
loading

Table of Contents