P3DR—Port 3 Data Register
H'C6
Port 3
P4DR—Port 4 Data Register
H'C7
Port 4
P5DDR—Port 5 Data Direction Register
H'C8
Port 5
Bit
Initial value
Read/Write
7
P3
0
R/W
7
6
P3
0
R/W
6
5
P3
0
R/W
5
4
P3
0
R/W
4
3
P3
0
R/W
3
2
P3
0
R/W
2
1
P3
0
R/W
1
0
P3
0
R/W
0
Data for port 3 pins
Bit
Initial value
Read/Write
7
P4
0
R/W
7
6
P4
0
R/W
6
5
P4
0
R/W
5
4
P4
0
R/W
4
3
P4
0
R/W
3
2
P4
0
R/W
2
1
P4
0
R/W
1
0
P4
0
R/W
0
Data for port 4 pins
Bit
Modes
1 to 4
Initial value
Read/Write
Initial value
Read/Write
Modes
5 to 7
7
—
1
—
1
—
6
—
1
—
1
—
5
—
1
—
1
—
4
—
1
—
1
—
3
P5 DDR
1
—
0
W
3
2
P5 DDR
1
—
0
W
2
1
P5 DDR
1
—
0
W
1
0
P5 DDR
1
—
0
W
0
Port 5 input/output select
0
Generic input
1
Generic output
806
www.DataSheet4U.com