1
STC12C5620AD 1T 8051
8051
13922829991
STC MCU Limited.
Tel: 0755-82948411 Fax: 0755-82905966
(13922809991)
STC
www.STCMCU.com
0513-5501 2928 / 2929 / 2966 0513-5501 2969 / 2956 / 2947
STC
www.STCMCU.com
Update date: 2011/3/19
STC12C5620AD
1
STC12C5620AD
8
1.1
STC12C5620AD
8
1.2 STC12C5620AD
10
1.3
STC12C5620AD
11
1.4
STC12C5620AD
13
1.5
STC12C5620AD
14
1.6
STC12C5620AD
(ISP)
15
1.6.1
STC12C5620AD
28
.............................................15
1.6.2
STC12C5620AD
20
.............................................17
1.6.3
STC12C5620AD
32
.............................................19
1.7
STC12C5620AD
20
1.8
STC12C5620AD
22
1.9
STC12C5620AD
28
1.10
ID
29
2
32
2.1
STC12C5620AD
32
2.1.1 STC12C5620AD
....................................32
2.1.2
..................................................................................33
2.1.3
R/C
.......................................34
2.1.4
............................................................................................37
2.2
STC12C5620AD
41
2.2.1
.......................................................................................................43
2.2.2
.......................................................................................................44
2.2.3
.......................................................................................44
2.2.4
0
C
..........................45
2.2.5
1
C
..........................47
2.2.6
0
C
..............................49
2.2.7
1
C
..............................51
2.2.8
RxD
C
.........................53
2.2.9
PCA
C
....................................55
2.3
59
2.3.1
RST
.........................................................................................59
2.3.2
.......................................................................................................59
2.3.3
.......................................................................................60
2.3.4
.........................................................................................60
2.3.5 MAX810
..................................................................................63
2.3.6
(WDT)
..........................................................................................63
2.3.7
..............................................................................67
3
(SFRs) ....................................
68
3.1
68
3.2
(SRAM) ..................................................................................
69
3.2.1
RAM
......................................................................................................69
3.2.2
512
RAM
...............................72
3.3
(SFRs) .............................................................................
76
4
STC12C5620AD
I/O
82
4.1
I/O
82
4.2
I/O
86
4.2.1
................................................................................................. 86
4.2.2
强
..................................................................................................... 87
4.2.3
..................................................................................87
4.2.4
....................................................87
4.3
89
4.4
89
4.5
3V/5V
I/O
89
4.6
I/O
90
4.7
PWM
I/O
91
4.9
I/O
LED
92
4.10
I/O
LCD
93
4.11
A/D
94
5
95
5.1
95
5.1.1
.......................................................................................................95
5.1.2
.......................................................................................................95
5.1.3
.......................................................................................................95
5.1.4
....................................................................................................96
5.1.5
.......................................................................................................96
5.1.6
.......................................................................................................96
5.1.7
...........................................................................................................96
5.2
97
5.3
8051
102
6
139
6.1
141
6.2
144
6.3
152
6.4
153
6.5
154
6.6
155
6.6.1
0(
INT0
)
.......................................................................155
6.6.2
1(
INT1
)
.......................................................................159
6.6.3
0
....................163
6.6.4
1
....................165
6.6.5 RxD
RxD/P3.0
...........167
6.6.7 PCA
........................................169
7
173
7.1
173
7.2
178
7.2.1
0(13
)
..........................................................................178
7.2.2
1(16
)
..........................................................................179
7.2.3
2(8
)
.............................................................................183
7.2.4
3(
8
)
.................................................................................186
7.3
187
7.3.1
0(13
)
..........................................................................187
7.3.2
1(16
)
..........................................................................188
7.3.3
2(8
)
.............................................................................192
7.4
C
195
7.4.1
........................................................197
7.4.2
........................................................199
7.5
Intel 8051
0/1
201
8
208
8.1
208
8.2
214
8.2.1
............................................................214
8.2.2
..................................................216
8.2.3
..................................................218
8.2.4
..................................................220
8.3
222
8.4
225
8.5
231
8.6
242
9
STC12C5620AD
A/D
248
9.1 A/D
248
9.2
A/D
250
9.3
A/D
255
9.4
A/D
256
9.5
A/D
257
9.6
A/D
C
258
9.6.1
A/D
ADC
.................................................................... 258
9.6.2
A/D
ADC
..............................................................264
10
STC12C5620AD
PCA/PWM
270
10.1
PCA/PWM
270
10.2
PCA/PWM
274
10.3
PCA
276
10.3.1
............................................................................................................. 276
10.3.2 16
......................................................................................... 277
10.3.3
..................................................................................................... 278
10.3.4
(PWM) ......................................................................................... 279
10.4
PCA
C
281
10.5
PCA
C
285
10.6
PCA
C
289
10.7
PCA
PWM
C
293
10.8
PWM
D/A
297