Table of Contents
P1DR—Port 1 Data Register
Bit
Initial value
Read/Write
P2DR—Port 2 Data Register
Bit
Initial value
Read/Write
P3DDR—Port 3 Data Direction Register
Bit
Initial value
Read/Write
Downloaded from
Elcodis.com
electronic components distributor
7
6
5
P1
P1
P1
7
6
5
0
0
0
R/W
R/W
R/W
Data for port 1 pins
7
6
5
P2
P2
P2
7
6
5
0
0
0
R/W
R/W
R/W
Data for port 2 pins
7
6
5
P3
DDR
P3
DDR
P3
DDR
P3
7
6
5
0
0
0
W
W
W
Port 3 input/output select
0 Generic input
1 Generic output
516
H'C2
4
3
2
P1
P1
P1
P1
4
3
2
0
0
0
R/W
R/W
R/W
R/W
H'C3
4
3
2
P2
P2
P2
P2
4
3
2
0
0
0
R/W
R/W
R/W
R/W
H'C4
4
3
2
DDR
P3
DDR
P3
DDR
P3
4
3
2
0
0
0
W
W
W
Port 1
1
0
P1
1
0
0
0
R/W
Port 2
1
0
P2
1
0
0
0
R/W
Port 3
1
0
DDR
P3
DDR
1
0
0
0
W
W
Table of Contents
loading

Table of Contents