English
Language : 

SM89S16R1_06 Datasheet, PDF (24/29 Pages) SyncMOS Technologies,Inc – 8-Bits Micro-controller With 64KB Flash ROM & 1KB RAM & RTC & ADC & PWM & PDWU embedded
SyncMOS Technologies International, Inc.
SM89S16R1
8-Bits Micro-controller
With 64KB Flash ROM & 1KB RAM & RTC & ADC & PWM & PDWU embedded
The SM89S16R1 will exit the Power Down mode with a reset or by a RTC (Real Time Clock) interrupt or by an
external interrupts pin enabled as level detects.
1. An external reset can be used to exit the Power Down state. The high on RST pin terminates the Power Down mode,
and restarts the clock. The program execution will restart from 0000H.
2. An external interrupt pin and RTC interrupt can be used to exit the Power Down state when the external interrupt or
RTC interrupt actives and provided the corresponding interrupt is enabled, while the global enable (EA) bit is set and
the external input has been set to a level detect mode or RTC interrupt set. If these conditions are met, then the low
level on the external pin or RTC interrupt re-starts the oscillator. Then device executes the interrupt service routine for
the corresponding external interrupt or RTC interrupt. After the interrupt service routine is completed, the program
execution returns to the instruction after the one that put the device into Power Down mode and continues from there.
PCON ($87H)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
SMOD
PD
IDLE
SMOD: This bit set to ‘1’ to make the UART baud-rate double.
PD: When set to ‘1’ , the MCU will into Power Down mode
IDLE: When set to ‘1’ , the MCU will into IDLE mode
SCONF ($BFH)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
PDWUE
OME
ALEI
PDWUE: When set to ‘1’, enable the PDWU function.
OME: When set to ‘1’, enable the 768 bytes expanded RAM.
ALEI: When set to ‘1’, it will stop ALE clock output for EMI reduce.
IE ($A8H)
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
EA
ET2
ES0
ET1
EX1
ET0
EX0
EA: When set to ‘1’, enable interrupt global.
ET2: When set to ‘1’, enable Timer2 interrupt.
ES0: When set to ‘1’, enable UART interrupt.
ET1: When set to ‘1’, enable Timer1 interrupt.
EX1: When set to ‘1’, enable external interrupt 1.
ET0: When set to ‘1’, enable Timer0 interrupt.
EX0: When set to ‘1’, enable external interrupt 0.
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.
Specifications subject to change without notice contact your sales representatives for the most recent information.
Ver 2.1 SM89S16R1 08/2006
24