12 / 71 page

宏晶科技:www.MCU-Memory.com Mobile:13922805190(姚永平) Tel:0755-82948409 Fax: 0755-82944243
宏晶科技:专业单片机 / 存储器供应商 www.MCU-Memory.com STC12C2052AD 系列 1T 8051 单片机中文指南
12
STC12C2052AD 系列 8051 单片机内核特殊功能寄存器 C51 Core SFRs
Mnemonic Add
Name
7
6
5
4
3
2
1
0
Reset Value
ACC
E0h
Accumulator
0000,0000
B
F0h
B Register
0000,0000
PSW
D0h
Program Status Word
CY AC F0 RS1 RS0 OV F1 P
0000,0000
SP
81h Stack Pointer
0000,0111
DPL
82h
Data Pointer Low Byte
0000,0000
DPH
83h
Data Pointer High Byte
0000,0000
STC12C2052AD 系列 8051 单片机系统管理特殊功能寄存器 System Management SFRs
Mnemonic Add Name
7
6
5
4
3
2
1
0
Reset value
PCON
87h Power Control
SMOD
SMOD0
LVDF
POF
GF1
GF0
PD
IDL
0011,0000
AUXR
8Eh Auxiliary Register T0x12 T1x12 UART_M0x6 EADCI ESPI
ELVDI
-
-
0000,00xx
IDLE_CLK C7h Clock Divder
-
-
-
-
-
IDLCLKS2 IDLCLKS1 IDLCLKS0 xxxx,x000
STC12C2052AD 系列 8051 单片机 中断 特殊功能寄存器 Interrupt SFRs
Mnemonic Add
Name
7
6
5
4
3
2
1
0
Reset Value
IE
A8h
Interrupt Enable
EA
EPCA
ESPI
ES ET1
EX1
ET0
EX0
0000,0000
IP
B8h
Interrupt Priority Low
-
PPCA
PSPI
PS PT1
PX1
PT0
PX0
xx00,0000
IPH
B7h
Interrupt Priority High
-
PPCAH PSPIH PSH PT1H PX1H PT0H PX0H 0000,0000
STC12C2052AD 系列 8051 单片机 I/O 口 特殊功能寄存器 Port SFRs
Mnemonic
Add
Name
7
6
5
4
3
2
1
0
Reset Value
P1
90h
8-bit Port 1
P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 P1.0 1111,1111
P1M0
91h
0000,0000
P1M1
92h
0000,0000
P3
B0h
8-bit Port 3
P3.7 -
P3.5 P3.4 P3.3 P3.2 P3.1 P3.0 1x11,1111
P3M0
B1h
0000,0000
P3M1
B2h
0000,0000
Mnemonic Add
Name
7
6
5
4
3
2
1
0
Reset Value
SCON
98h
Serial Control
SM0/FE
SM1
SM2
REN
TB8
RB8
TI
RI
0000,0000
SBUF
99h
Serial Data Buffer
xxxx,xxxx
SADEN
B9h
Slave Address Mask
0000,0000
SADDR
A9h
Slave Address
0000,0000
AUXR
8Eh
Auxiliary Register
T0x12
T1x12
UART_M0x6
EADCI ESPI EBODI
-
-
0000,00xx
STC12C2052AD系列 8051 单片机 串行口 特殊功能寄存器 Serial I/O Port SFRs
Mnemonic
Add
Name
7
6
5
4
3
2
1
0
Reset Value
WDT_CONTR E1h
Watch-Dog-Timer
Control register
WDT_FLAG -
EN_WDT CLR_WDT IDLE_WDT PS2 PS1 PS0 xx00,0000
STC12C2052AD 系列 8051 单片机 看门狗定时器 特殊功能寄存器 Watch Dog Timer SFRs