English
Language : 

SM59D03G2 Datasheet, PDF (57/67 Pages) SyncMOS Technologies,Inc – 8-Bits Micro-controller
13 Interrupts
SM59D03G2
8-Bits Micro-controller
8KB+ ISP Flash & 1KB RAM embedded
SM59D03G2 has a total of 8 interrupt vectors, they include two external interrupts, three timer
interrupts, one serial port interrupts, EEI interrupts, and a PCA interrupt.
Each of the interrupt sources can be individually enabled or disabled by setting or clearing a bit in
the IE or IE1 register. This register also contains a global disable bit, which must be cleared to
disable all interrupt at once.
Interrupt Source
External interrupt 0
Timer 0
External interrupt 1
Timer 1
Serial Port
Timer 2
EEI
PCA interrupt
Interrupt Vector
0003h
000Bh
0013h
001Bh
0023h
002Bh
0033h
003Bh
Polling
sequence
13.1 SFR description
Mnemonic Description
Direct Bit 7
IE
Interrupt Enable
register
A8h
EA
IE1
Interrupt Enable
1 register
A9h
-
IP
Interrupt Priority
register
B8h
-
IP1
Interrupt Priority
1 register
B9h
-
Bit 6 Bit 5
EEI interface
-
ET2
Bit 4
ES
-
-
-
-
PT2
PS
-
-
-
Bit 3
ET1
-
PT1
-
Bit 2 Bit 1 Bit 0 RESET
EX1 ET0 EX0 00h
-
EPCA KBD 00h
PX1 PT0 PX0 00h
-
PPCA PKBD 00h
Mnemonic: IE
7
6
EA
-
Address: A8h
5
4
3
2
1
0 Reset
ET2
ES
ET1
EX1 ET0 EX0 00h
EA: Disable all interrupt. If EA = 0, no interrupt will be acknowledged. If EA = 1, each
interrupt source is individually enabled or disabled by setting or clearing its enable bit.
ET2: Timer 2 interrupt enable bit.
ES: Serial port 0 interrupt enable bit.
ET1: Timer 1 interrupt enable bit.
EX1: External interrupt 1 enable bit.
ET0: Timer 0 interrupt enable bit.
EX0: External interrupt 0 enable bit.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M030
57
Ver.C SM59D03G2 07/2009