SyncMOS Technologies International, Inc.
SM89S16R1
8-Bits Micro-controller
With 64KB Flash ROM & 1KB RAM & RTC & ADC & PWM & PDWU embedded
SFR Mapping
The special function register of SM89S16R1 fall into the following categories
z
z
z
C51 CORE register: ACC, B, DPL, DPH, PSW, SP
I/O ports: P0,P1, P2, P3, P4
Timer/Counter register: T2CON, T2MOD, TCON, TMOD, TH0, TH1, TH2, TL0, TL1, TL2, RCAP2L,
RCAP2H
z
z
z
z
z
z
z
UART I/O register: SBUF, SCON
Power and system control register: PCON, SCONF
Interrupt system register: IP, IE, IP1, IE1, IFR
PWM output register: PWMC0, PWMC1, PWMD0, PWMD1, P1CON
ADC register: ADCSC, ADCD, P2CON
RTC register: RTCC, RTCS
LED Driving Capability Control: LEDP0, LEDP1, LEDP2, LEDP3, LEDP4
Table 1 SFR Map
$F8
$F0
$E8
$E0
$FF
B
$F7
$EF
$E7
$DF
$D7
$CF
$C7
$BF
$B7
$AF
$A7
$9F
$97
$8F
$87
0000 0000
ACC
0000 0000
$D8 P4
xxxx 1111
$D0 PSW
0000 0000
T2CON
0000 0000 xxxx xx00 0000 0000
PWMC0
0000 0000
RCAP2H
0000 0000
PWMC1
0000 0000
TL2
$C8
$C0
$B8
$B0
T2MOD
RCAP2L
TH2
0000 0000
0000 0000
IP
IP1
SCONF
0000 0000 0000 0000
0000 0000
P3
PWMD0
PWMD1
1111 1111
0000 0000
0000 0000
$A8 IE
IE1
IFR
0000 0000 0000 0000 0000 0000
$A0 P2
1111 1111
RTCS
RTCC
0000 0000 0000 0000
SBUF
$98
$90
$88
$80
SCON
P1CON
P2CON
0000 0000 xxxx xxxx
0000 0000
LEDP1
0000 0000
LEDP2
LEDP0
0000 0000
TL0
LEDP3
0000 0000
TH1
LEDP4
P1
0000 0000
0000 0000
0000 0000
ADCSC
0000 0000
1111 1111
TCON
TMOD
TL1
TH0
ADCD
0000 0000 0000 0000 0000 0000
0000 0000
DPH
0000 0000
0000 0000
0000 0000
PCON
P0
SP
DPL
1111 1111
0000 0111 0000 0000
0000 0000
0000 0000
Table 2 : All SFR list (8051, I/O, Timer, UART, System, Interrupt, RAM Control, PWM, RTC, ADC)
Symbol
Description
Direct
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
RESET
Specifications subject to change without notice contact your sales representatives for the most recent information.
Ver 2.1 SM89S16R1 08/2006
6