English
Language : 

SM89T16R1 Datasheet, PDF (28/34 Pages) SyncMOS Technologies,Inc – 8-Bits Micro-controller With 64KB Flash ROM & IKB RAM & Two UART & RTC & ADC & PWM embedded
SyncMOS Technologies Inc.
SM89T16R1
8-Bits Micro-controller
With 64KB Flash ROM & IKB RAM & Two UART & RTC & ADC & PWM embedded
PT1: Timer1 interrupt priority.
PX1: external interrupt 1 priority.
PT0: Timer0 interrupt priority.
PX0: external interrupt 0 priority.
EIP ($BAH)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
PX5
PX4
PX3
PX2
PX5: When set to ‘1’, external interrupt 5 priorities.
PX4: When set to ‘1’, external interrupt 4 priorities.
PX3: When set to ‘1’, external interrupt 3 priorities.
PX2: When set to ‘1’, external interrupt 2 priorities.
EIE ($ABH)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
EX5
EX4
EX3
EX2
EX5: When set to ‘1’, enable external interrupt 5.
EX4: When set to ‘1’, enable external interrupt 4.
EX3: When set to ‘1’, enable external interrupt 3.
EX2: When set to ‘1’, enable external interrupt 2.
TCON ($88H)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
TF1
TR1
TF0
TR0
IE1
IT1
IE0
IT0
TF1: Timer 1 overflow flag.
TR1: Timer 1 run control bit.
TF0: Timer 0 overflow flag.
TR0: Timer 0 run control bit.
IE1: External Interrupt 1 edge flag.
IT1: Interrupt 1 type control bit.
IE0: External Interrupt 0 edge flag.
IT0: Interrupt 0 type control bit.
CKCON ($8EH)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
T2M
T1M
T0M
MD2
MD1
T2M: Timer 2 clock select. When “1” used divide by 4 clock; when “0” used divide by 12 clock.
T1M: Timer 1 clock select. When “1” used divide by 4 clock; when “0” used divide by 12 clock.
T0M: Timer 0 clock select. When “1” used divide by 4 clock; when “0” used divide by 12 clock.
MD [2:0]: Stretch MOVX selects bits
Bit0
MD0
MD2
0
0
0
0
1
1
1
1
MD1
0
0
1
1
0
0
1
1
MD0
0
1
0
1
0
1
0
1
Stretch Value
0
1
2
3
4
5
6
7
MOVX duration
2 machine cycles
3 machine cycles (Default)
4 machine cycles
5 machine cycles
6 machine cycles
7 machine cycles
8 machine cycles
9 machine cycles
Specifications subject to change without notice contact your sales representatives for the most recent information.
SM89T16R1 V1.0 JANUARY 2005
28