18 STC12C5Axx
Technical Summary
SFR:
P3M1
(P3 Configuration 1)
Read/Write
Address:
0XB1H
Default: 0000-0000
Bit
7
6
5
4
3
2
1
0
Name
P3M1.7
P3M1,6 P3M1.5
P3M1.4
P3M1.3
P3M1.2
P3M1.1 P3M1.0
SFR:
P4M0
(P4 Configuration 0)
Read/Write
Address:
0XB4H
Default: 0000-0000
Bit
7
6
5
4
3
2
1
0
Name
P4M0.7 P4M0,6 P4M0.5
P4M0.4
P4M0.3
P4M0.2
P4M0.1 P4M0.0
SFR:
P4M1
(P4 Configuration 1)
Read/Write
Address:
0XB3H
Default: 0000-0000
Bit
7
6
5
4
3
2
1
0
Name
P4M1.7
P4M1,6 P4M1.5
P4M1.4
P4M1.3
P4M1.2
P4M1.1 P4M1.0
SFR:
P5M0
(P5 Configuration 0)
Read/Write
Address:
0XCAH
Default: 0000-0000
Bit
7
6
5
4
3
2
1
0
Name
P5M0.7
P5M0,6 P5M0.5
P5M0.4
P5M0.3
P5M0.2
P5M0.1 P5M0.0
SFR:
P5M1
(P5 Configuration 1)
Read/Write
Address:
0XC9H
Default: 0000-0000
Bit
7
6
5
4
3
2
1
0
Name
P5M1.7
P5M1,6 P5M1.5
P5M1.4
P5M1.3
P5M1.2
P5M1.1 P5M1.0
Configuration of I/O port
PxM0n
PxM1n
Port Mode
0 0
Quasi-bidirectional(default)
0 1
Push-Pull output
1 0
Input Only (High-impedance)
1 1
Open-Drain Output
(
x
=
1
or
3
n
=
7, 6, 5, 4, 3, 2, 1
or
0
)
http://www.DataSheet4U.net/
datasheet pdf - http://www.DataSheet4U.net/