background image
宏晶科技:www.MCU-Memory.com   Mobile:13922805190(姚永平)   Tel:0755-82948409    Fax: 0755-82944243
宏晶科技:专业单片机 / 存储器供应商   www.MCU-Memory.com   STC12C5410AD 系列 1T 8051 单片机中文指南
20
STC12C5410AD 系列 8051 单片机内核特殊功能寄存器
   C51 Core SFRs
M n e m o n i c
A d d
N a m e
 7
 6
 5
 4
 3
 2
 1
 0
R e s e t   V a l u e
A C C
E 0 h
A c c u m u l a t o r
0 0 0 0 , 0 0 0 0
F 0 h
B   R e g i s t e r
0 0 0 0 , 0 0 0 0
P S W
D 0 h
P r o g r a m   S t a t u s   W o r d
C Y
A C
F 0
R S 1
R S 0
O V
  F 1
 P
0 0 0 0 , 0 0 0 0
S P
8 1 h
S t a c k   P o i n t e r
0 0 0 0 , 0 1 1 1
D P L
8 2 h
D a t a   P o i n t e r   L o w   B y t e
0 0 0 0 , 0 0 0 0
D P H
8 3 h
D a t a   P o i n t e r   H i g h   B y t e
0 0 0 0 , 0 0 0 0
STC12C5410AD 系列 8051  单片机系统管理特殊功能寄存器
System Management SFRs
Mnemonic Add Name
  7
 6
 5
 4
 3
 2
 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
CLK_DIV
C7h Clock  Divder
CLKS2
CLKS1
CLKS0
xxxx,x000
STC12C5410AD 系列 8051 单片机 I/O 口 特殊功能寄存器
   Port SFRs
M n e m o n i c
A d d
            N a m e
 7
 6
 5
  4
 3
 2
 1
 0
R e s e t   V a l u e
P 0
8 0 h
8 - b i t     P o r t   0
P 0 . 3
P 0 . 2
P 0 . 1
P 0 . 0
x x x x , 1 1 1 1
P 0 M 0
9 3 h
0 0 0 0 , 0 0 0 0
P 0 M 1
9 4 h
0 0 0 0 , 0 0 0 0
P 1
9 0 h
8 - b i t     P o r t   1
P 1 . 7
P 1 . 6
P 1 . 5
P 1 . 4
P 1 . 3
P 1 . 2
P 1 . 1
P 1 . 0
1 1 1 1 , 1 1 1 1
P 1 M 0
9 1 h
0 0 0 0 , 0 0 0 0
P 1 M 1
9 2 h
0 0 0 0 , 0 0 0 0
P 2
A 0 h
8 - b i t     P o r t   2
P 2 . 7
P 2 . 6
P 2 . 5
P 2 . 4
P 2 . 3
P 2 . 2
P 2 . 1
P 2 . 0
1 1 1 1 , 1 1 1 1
P 2 M 0
9 5 h
0 0 0 0 , 0 0 0 0
P 2 M 1
9 6 h
0 0 0 0 , 0 0 0 0
P 3
B 0 h
8 - b i t     P o r t   3
P 3 . 7
  -
P 3 . 5
P 3 . 4
P 3 . 3
P 3 . 2
P 3 . 1
P 3 . 0
1 x 1 1 , 1 1 1 1
P 3 M 0
B 1 h
0 0 0 0 , 0 0 0 0
P 3 M 1
B 2 h
0 0 0 0 , 0 0 0 0
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 ELVDI
 -
 -
0000,00xx
STC12C5410AD 系列 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
STC12C5410AD 系列 8051 单片机 看门狗定时器 特殊功能寄存器
 Watch Dog Timer SFRs
STC12C5410AD 系列 8051 单片机 定时器 特殊功能寄存器
    Timer SFRs
Mnemonic Add
Name
 7
 6
 5
 4
 3
 2
 1
 0
Reset Value
TCON
88h
Timer / Counter 0 and 1 Control
TF1
TR1
TF0
TR0
IE1
IT1
IE0
IT0
0000,0000
TMOD
89h
Timer / Counter 0 and 1 Modes
GATE
GATE1
C/T#
C/T1#
M1
M1_1
M0
M1_0
GATE
GATE0
C/T#
C/T0#
M1
M0_1
M0
M0_0
0000,0000
TL0
8Ah
Timer / Counter 0 Low Byte
0000,0000
TH0
8Ch
Timer / Counter 0 High Byte
0000,0000
TL1
8Bh
Timer / Counter 1 Low Byte
0000,0000
TH1
8Dh
Timer / Counter 1 High Byte
0000,0000
AUXR
8Eh
Auxiliary  Register
T0x12 T1x12 UART_M0x6
EADCI
ESPI
ELVDI
 -
 -
0000,00xx