Datasheet
Section 13 Timer Z
Rev.5.00 Nov. 02, 2005 Page 202 of 500
REJ09B0027-0500
B. External clock operation
An external clock input pin (TCLK) can be selected by bits TPSC2 to TPSC0 in TCR, and
a detection edge can be selected by bits CKEG1 and CKEG0. To detect an external clock,
the rising edge, falling edge, or both edges can be selected. The pulse width of the external
clock needs two or more system clocks. Note that an external clock does not operate
correctly with the lower pulse width.
Figure 13.11 illustrates the detection timing of the rising and falling edges.
TCNT
External clock input pin
TCNT input
N-1 N N+1
φ
Figure 13.11 Count Timing at External Clock Operation (Both Edges Detected)










