Datasheet

Section 12 Timer Z
Rev. 2.00 Sep. 23, 2005 Page 177 of 444
REJ09B0068-0200
Figure 12.9 illustrates periodic counter operation.
H'0000
Time
Counter cleared by GR compare match
STR
GR value
TCNT value
IMF
Figure 12.9 Periodic Counter Operation
2. TCNT count timing
A. Internal clock operation
A system clock (φ) or three types of clocks (φ/2, φ/4, or φ/8) that divides the system clock
can be selected by bits TPSC2 to TPSC0 in TCR.
Figure 12.10 illustrates this timing.
TCNT
TCNT input
Internal clock
N-1 N N+1
φ
Figure 12.10 Count Timing at Internal Clock Operation