English
Language : 

HD64F3048VTF8 Datasheet, PDF (389/903 Pages) Renesas Technology Corp – Hardware Manual Renesas 8-Bit Single-Chip
Section 10 16-Bit Integrated Timer Unit (ITU)
TCNT value
GR
Counter cleared by general
register compare match
H'0000
Time
STR bit
IMF
Figure 10.16 Periodic Counter Operation
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
N
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 Sep 27, 2006 page 361 of 872
REJ09B0325-0300