English
Language : 

SM59D03G2 Datasheet, PDF (23/67 Pages) SyncMOS Technologies,Inc – 8-Bits Micro-controller
SM59D03G2
8-Bits Micro-controller
8KB+ ISP Flash & 1KB RAM embedded
6.4 Mode 3
Timer 1 in Mode 3 simply holds its count. The effect is the same as setting TR1 = 0.
Timer 0 in Mode 3 takes TL0 and TH0 as two separate counters. TL0 uses the Timer 0 control bits:
C/T , GATE, TR0, INT 0 , and TF0. TH0 is locked into a timer function to count machine cycles and
takes over the use of TR1 and TF1 from Timer 1. Thus, TH0 now controls the “Timer 1” interrupt.
Mode 3 is provided for applications requiring an extra 8-bit timer or counter. When Timer 0 is in
Mode 3, Timer 1 can be turned on and off by switching it out of and into its own Mode 3, or can still
be used by the serial port as a baud rate generator, or in fact, in any application not requiring an
interrupt.
OSC
/12
T0 pin
TR0
C/ T = 0
C/ T = 1
Control
TL0
(8 bits)
TF0
Interrupt
GATE
INT 0 pin
TH0
(8 bits)
TF1
Control
TR1
Fig. 6-4: Mode 3 operation for Timer 0
Interrupt
6.5 SFR description
Mnemonic Description
Direct Bit 7
TL0
TH0
TL1
TH1
TMOD
TCON
Timer 0 , low byte 8Ah
Timer 0 , high
byte
8Ch
Timer 1 , low byte 8Bh
Timer 1 , high
byte
8Dh
Timer Mode
Control
89h GATE
Timer/Counter
Control
88h TF1
Bit 6 Bit 5 Bit 4 Bit 3
Timer 0 and 1
TL0[7:0]
TH0[7:0]
TL1[7:0]
TH1[7:0]
C/ T
M1
M0 GATE
TR1 TF0 TR0 IE1
Bit 2
C/ T
IT1
Bit 1
M1
IE0
Bit 0 RESET
00h
00h
00h
00h
M0
00h
IT0
00h
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M030
23
Ver.C SM59D03G2 07/2009