English
Language : 

HD6413008VF25 Datasheet, PDF (258/688 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
8. 16-Bit Timer
16TCNT value
GR
Counter cleared by general
register compare match
H'0000
Time
STR bit
IMF
Figure 8.14 Periodic Counter Operation
• 16TCNT count timing
⎯ Internal clock source
Bits TPSC2 to TPSC0 in 16TCR select the system clock (φ) or one of three internal clock
sources obtained by prescaling the system clock (φ/2, φ/4, φ/8).
Figure 8.15 shows the timing.
φ
Internal
clock
16TCNT input
clock
16TCNT
N−1
N
N+1
Figure 8.15 Count Timing for Internal Clock Sources
⎯ External clock source
The external clock pin (TCLKA to TCLKD) can be selected by bits TPSC2 to TPSC0 in
16TCR, and the detected edge 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 8.16 shows the timing when both edges are detected.
Rev.4.00 Aug. 20, 2007 Page 212 of 638
REJ09B0395-0400