618
P1DR—Port 1 Data Register
H'C2
Port 1
Bit
Initial value
Read/Write
7
P1
7
0
R/W
6
P1
6
0
R/W
5
P1
5
0
R/W
4
P1
4
0
R/W
3
P1
3
0
R/W
0
P1
0
0
R/W
2
P1
2
0
R/W
1
P1
1
0
R/W
Data for port 1 pins
P2DR—Port 2 Data Register
H'C3
Port 2
Bit
Initial value
Read/Write
7
P2
7
0
R/W
6
P2
6
0
R/W
5
P2
5
0
R/W
4
P2
4
0
R/W
3
P2
3
0
R/W
0
P2
0
0
R/W
2
P2
2
0
R/W
1
P2
1
0
R/W
Data for port 2 pins
P3DDR—Port 3 Data Direction Register
H'C4
Port 3
Bit
Initial value
Read/Write
7
P3 DDR
0
W
7
6
P3 DDR
0
W
6
5
P3 DDR
0
W
5
4
P3 DDR
0
W
4
3
P3 DDR
0
W
3
2
P3 DDR
0
W
2
1
P3 DDR
0
W
1
0
P3 DDR
0
W
0
Port 3 input/output select
0
Generic input pin
1
Generic output pin