sm59d04g2 SyncMOS Technologies,Inc, sm59d04g2 Datasheet - Page 24
sm59d04g2
Manufacturer Part Number
sm59d04g2
Description
8-bits Micro-controller 16kb+ Isp Flash & 1kb Ram Embedded
Manufacturer
SyncMOS Technologies,Inc
Datasheet
1.SM59D04G2.pdf
(67 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
6.5.1
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M031
Timer/Counter Mode Control register (TMOD)
M[1:0]: Selects mode for Timer/Counter 0 or Timer/Counter 1.
GATE: If set, enables external gate control (pin INT0 or INT1 for Counter 0 or 1,
Mnemonic: TMOD
GATE
C/
7
T : Selects Timer or Counter operation. When set to 1, a Counter operation is
respectively). When INT0 or INT1 is high, and TRx bit is set (see TCON
register), a counter is incremented every falling edge on T0 or T1 input pin
performed, when cleared to 0, the corresponding register will function as a
Timer.
C/
M1
6
T
0
0
1
1
Timer 1
M0
0
1
0
1
M1
5
Mode0 13-bit Counter/Timer, with 5 lower bits in TL0 or
Mode1 16-bit Counter/Timer.
Mode2 8 -bit auto-reload Counter/Timer. The reload
Mode3 If Timer 1 M1 and M0 bits are set to 1, Timer 1
Mode
M0
4
TL1 register and 8 bits in TH0 or TH1 register
(for Timer 0 and Timer 1, respectively). The 3
high order bits of TL0 and TL1 are hold at zero.
value is kept in TH0 or TH1, while TL0 or TL1
is incremented every machine cycle. When
TLx overflows, a value from THx is copied to
TLx.
stops. If Timer 0 M1 and M0 bits are set to 1,
Timer 0 acts as two independent 8 bit Timers /
Counters.
GATE
3
24
C/
2
T
Timer 0
16KB+ ISP Flash & 1KB RAM embedded
Function
M1
1
Address: 89h
Ver.C SM59D04G2 07/2009
M0
0
8-Bits Micro-controller
Reset
00h
SM59D04G2