STC12C5A60S2系列单片机器件手册
Tel: 0755-82948411 Fax: 0755-82944243
Mobile: 13922805190
()
STC
www.STCMCU.com
1
STC12C5A60S2 1T 8051
8051
www.STCMCU.com
STC MCU Limited
STC
www.STCMCU.com
Update date: 2011/1/15
STC12C5A60S2
1
STC12C5A60S2
8
1.1
STC12C5A60S2
8
1.2 STC12C5A60S2
10
1.3
STC12C5A60S2
11
1.4
STC12C5A60S2
13
1.5
STC12C5A60S2
15
1.6
STC12C5A60S2
(ISP)
17
1.7
STC12C5A60S2
19
1.8
STC12C5A60S2
22
1.9
STC12C5A60S2
27
1.10
ID
28
2
31
2.1
STC12C5A60S2
31
2.1.1 STC12C5A60S2
................................... 31
2.1.2
................................................................................ 32
2.1.3
R/C
..................................... 33
2.1.4
.......................................................................................... 36
2.2
STC12C5A60S2
41
2.2.1
..................................................................................................... 43
2.2.2
..................................................................................................... 44
2.2.3
..................................................................................... 44
2.3
50
2.3.1
RST
.......................................................... 50
2.3.2
RST2
............. 50
2.3.3
.................. 52
2.3.4
..................................................................................................... 56
2.3.5
..................................................................................... 56
2.3.6 MAX810
................................................................................ 57
2.3.7
(WDT)
....................................................................................... 57
2.3.8
............................................................................ 61
3
(SFRs) ...................................
62
3.1
62
3.2
(SRAM) .................................................................................
63
3.2.1
RAM
.................................................................................................... 63
3.2.2
RAM
............................................................................................. 65
3.2.3
64KB
RAM
.................................................... 73
3.3
(SFRs) ............................................................................
76
4
STC12C5A60S2
I/O
83
4.1
I/O
83
4.2
STC12C5A60S2
P4/P5
88
4.3
I/O
90
4.3.1
................................................................................................ 90
4.3.2
强
.................................................................................................... 91
4.3.3
................................................................................ 91
4.3.4
.................................................. 91
4.4
93
4.5
93
4.6
3V/5V
I/O
93
4.7
I/O
94
4.8
PWM
I/O
95
4.9
I/O
LED
96
4.10
I/O
LCD
97
4.11
A/D
98
5
99
5.1
99
5.1.1
..................................................................................................... 99
5.1.2
..................................................................................................... 99
5.1.3
..................................................................................................... 99
5.1.4
................................................................................................ 100
5.1.5
................................................................................................... 100
5.1.6
................................................................................................... 100
5.1.7
....................................................................................................... 100
5.2
101
5.3
8051
106
6
143
6.1
145
6.2
147
6.3
155
6.4
156
6.5
157
6.6
158
6.6.1
0(
INT0
)
..................................................................... 158
6.6.2
1(
INT1
)
..................................................................... 162
6.6.3
0
.................. 166
6.6.4
1
.................. 168
6.6.5 RxD
RxD/P3.0
......... 170
6.6.6
LVD
.............................. 172
6.6.7 PCA
...................................... 175
7
179
7.1
179
7.2
184
7.2.1
0(13
)
........................................................................ 184
7.2.2
1(16
)
........................................................................ 185
7.2.3
2(8
)
........................................................................... 189
7.2.4
3(
8
)
............................................................................... 192
7.3
193
7.3.1
0(13
)
........................................................................ 193
7.3.2
1(16
)
........................................................................ 194
7.3.3
2(8
)
........................................................................... 198
7.4
C
201
7.4.1
0
...................................................... 204
7.4.2
1
...................................................... 206
7.4.3
...................................... 208
7.5
Intel 8051
0/1
210