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
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
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
$D8
$D0
$C8
$C0
$B8
$B0
$A8
$A0
$98
$90
$88
$80
IP
0000 0000
P3
1111 1111
IE
0000 0000
P2
1111 1111
SCON
0000 0000
P1
1111 1111
TCON
0000 0000
P0
1111 1111
IP1
0000 0000
PWMD0
0000 0000
IE1
0000 0000
RTCS
0000 0000
SBUF
xxxx xxxx
TMOD
0000 0000
SP
0000 0111
IFR
0000 0000
RTCC
0000 0000
LEDP0
0000 0000
TL0
0000 0000
DPL
0000 0000
P1CON
0000 0000
LEDP1
0000 0000
TL1
0000 0000
DPH
0000 0000
P2CON
0000 0000
LEDP2
0000 0000
TH0
0000 0000
LEDP3
0000 0000
TH1
0000 0000
LEDP4
0000 0000
ADCSC
0000 0000
PWMD1
0000 0000
SCONF
0000 0000
ACC
0000 0000
P4
xxxx 1111
PSW
0000 0000
T2CON
0000 0000
B
0000 0000
$FF
$F7
$EF
$E7
$DF
PWMC0
0000 0000
RCAP2H
0000 0000
PWMC1
0000 0000
TL2
0000 0000
$D7
TH2
0000 0000
$CF
$C7
$BF
$B7
$AF
$A7
$9F
$97
ADCD
0000 0000
PCON
0000 0000
$8F
$87
T2MOD
xxxx xx00
RCAP2L
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.
6
Ver 2.1 SM89S16R1 08/2006