P8DDR—Port 8 Data Direction Register
H'CD
Port 8
P7DR—Port 7 Data Register
H'CE
Port 7
P8DR—Port 8 Data Register
H'CF
Port 8
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
—
3
P8 DDR
0
W
0
W
3
2
P8 DDR
0
W
0
W
2
1
P8 DDR
0
W
0
W
1
0
P8 DD
0
W
0
W
0
4
P8 DDR
1
W
0
W
4
Port 8 input/output se
Port 8 input/output select
0
Generic input
1
Generic output
0
Generic input
1
output
CS
Bit
Initial value
Read/Write
0
P7
—
R
*
Note: Determined by pins P7 to P7 .
*
0
1
P7
—
R
*
1
2
P7
—
R
*
2
3
P7
—
R
*
3
4
P7
—
R
*
4
5
P7
—
R
*
5
6
P7
—
R
*
6
7
P7
—
R
*
7
Read the pin levels for port 7
7
0
Bit
Initial value
Read/Write
7
—
1
—
6
—
1
—
5
—
1
—
4
P8
0
R/W
4
3
P8
0
R/W
3
2
P8
0
R/W
2
1
P8
0
R/W
1
0
P8
0
R/W
0
Data for port 8 pins
808
www.DataSheet4U.com