English
Language : 

SM59D03G2 Datasheet, PDF (28/67 Pages) SyncMOS Technologies,Inc – 8-Bits Micro-controller
SM59D03G2
8-Bits Micro-controller
8KB+ ISP Flash & 1KB RAM embedded
Figure 7-2:Timer 2 in auto reload mode (DCEN=0)
Figure 7-3: Timer 2 in auto reload mode (DCEN=1)
7.3 Programmable clock out
A 50% duty cycle clock can be programmed to come out on P1.0. This pin, besides begin a regular
I/O pin, has two alternate functions. It can be programmed (1) to input the external clock for
Timer/Counter 2 or (2) to output a 50% duty cycle clock. An example is that the clock output ranges
from 61Hz to 4MHz at a 16MHz oscillator frequency if in 12T mode.
To configure the Timer/Counter 2 as a clock generator, bit C/T 2 (T2CON.1) must be cleared and bit
T2OE(T2MOD.1) must be set. Bit TR2 (T2CON.2) starts and stops the timer.
The Clock-Out frequency depends on the oscillator frequency and the reload value of Timer 2
capture registers (RCAP2H, RCAP2L) as shown in this equation:
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M030
28
Ver.C SM59D03G2 07/2009