English
Language : 

SH7706 Datasheet, PDF (383/749 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family/SH7700 Series
Section 12 Timer Unit (TMU)
2. External Clock Operation: Set the TPSC2 to TPSC0 bits in TCR to select the external clock
(TCLK) as the timer clock. Use the CKEG1 and CKEG0 bits in TCR to select the detection
edge. Rise, fall or both may be selected. The pulse width of the external clock must be at least
1.5 peripheral module clock cycles for single edges or 2.5 peripheral module clock cycles for
both edges. A shorter pulse width will result in accurate operation. Figure 12.5 shows the
timing for both-edge detection.
Pφ
External
clock input
pin (TCLK)
TCNT
input clock
TCNT
N+1
N
N–1
Figure 12.5 Count Timing when External Clock Is Operating (Both Edges Detected)
3. On-Chip RTC Clock Operation: Set the TPSC2 to TPSC0 bits in TCR to select the on-chip
RTC clock as the timer clock. Figure 12.6 shows the timing.
RTC output
clock
TCNT input
clock
TCNT N + 1
N
N–1
Figure 12.6 Count Timing when On-Chip RTC Clock Is Operating
Rev. 5.00 May 29, 2006 page 335 of 698
REJ09B0146-0500