XC2200 Derivatives
System Units (Vol. 1 of 2)
Parallel Ports
User’s Manual
7-13
V2.1, 2008-08
Parallel Ports, V1.6D6
7.2.5
Port Input/Output Control Registers
The port input/output control registers contain the bit fields to select the digital output and
input driver characteristics, such as pull-up/down devices, port direction (input/output),
open-drain and alternate output selections. The coding of the options is shown in
Depending on the port functionality not all of the input/output control registers may be
implemented. The structure with one control bit field for each port pin located in different
register offers the possibility to configure port pin functionality of a single pin without
accessing some other PCx in the same register by word-oriented writes.
P0_IOCRx (x=00-07)
Port 0 Input/Output Control Register x XSFR (E800
H
+2*x)
Reset Value: 0000
H
P1_IOCRx (x=00-07)
Port 1 Input/Output Control Register x XSFR (E820
H
+2*x)
Reset Value: 0000
H
P2_IOCRx (x=00-12)
Port 2 Input/Output Control Register x XSFR (E840
H
+2*x)
Reset Value: 0000
H
P3_IOCRx (x=00-07)
Port 3 Input/Output Control Register x XSFR (E860
H
+2*x)
Reset Value: 0000
H
P4_IOCRx (x=00-07)
Port 4 Input/Output Control Register x XSFR (E880
H
+2*x)
Reset Value: 0000
H
P6_IOCRx (x=00-03)
Port 6 Input/Output Control Register x XSFR (E8C0
H
+2*x)
Reset Value: 0000
H
P7_IOCRx (x=00-04)
Port 7 Input/Output Control Register x XSFR (E8E0
H
+2*x)
Reset Value: 0000
H
P8_IOCRx (x=00-06)
Port 8 Input/Output Control Register x XSFR (E900
H
+2*x)
Reset Value: 0000
H
P9_IOCRx (x=00-07)
Port 9 Input/Output Control Register x XSFR (E920
H
+2*x)
Reset Value: 0000
H
P10_IOCRx (x=00-15)
Port 10 Input/Output Control Register x XSFR (E940
H
+2*x)
Reset Value: 0000
H
P11_IOCRx (x=00-05)
Port 11 Input/Output Control Register x XSFR (E960
H
+2*x)
Reset Value: 0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
PC
0
r
rw
r