XC2200 Derivatives
System Units (Vol. 1 of 2)
Parallel Ports
User’s Manual
7-9
V2.1, 2008-08
Parallel Ports, V1.6D6
7.2.2
Port Output Register
The port output register defines the values of the output pins if the pin is used as GPIO
output.
Pn_OUT (n=0-4)
Port n Output Register
SFR (FFA2
H
+2*n)
Reset Value: 0000
H
Pn_OUT (n=6-11)
Port n Output Register
SFR (FFA2
H
+2*n)
Reset Value: 0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
P15 P14 P13 P12 P11 P10
P9
P8
P7
P6
P5
P4
P3
P2
P1
P0
rwh rwh rwh rwh rwh rwh rwh rwh rwh rwh rwh rwh rwh rwh rwh rwh
Field
Bits
Type Description
Px
(x = 0-15)
x
rwh
Port Output Bit x
This bit defines the level at the output pin of port Pn,
pin x if the output is selected as GPIO output.
0
The output level of Pn.x is 0.
1
The output level of Pn.x is 1.