XC886/888CLM
Parallel Ports
User’s Manual
6-36
V1.3, 2010-02
Parallel Ports, V 1.0
6.6.2
Register Description
P3_DATA
Port 3 Data Register
Reset Value: 00
H
7
6
5
4
3
2
1
0
P7
P6
P5
P4
P3
P2
P1
P0
rw
rw
rw
rw
rw
rw
rw
rw
Field
Bits
Type Description
Pn
(n = 0 – 7)
n
rw
Port 3 Pin n Data Value
0
Port 3 pin n data value = 0 (default)
1
Port 3 pin n data value = 1
P3_DIR
Port 3 Direction Register
Reset Value: 00
H
7
6
5
4
3
2
1
0
P7
P6
P5
P4
P3
P2
P1
P0
rw
rw
rw
rw
rw
rw
rw
rw
Field
Bits
Type Description
Pn
(n = 0 – 7)
n
rw
Port 3 Pin n Direction Control
0
Direction is set to input (default).
1
Direction is set to output.
*