XC2200 Derivatives
System Units (Vol. 1 of 2)
Parallel Ports
User’s Manual
7-18
V2.1, 2008-08
Parallel Ports, V1.6D6
7.3.1
Port 0
Port 0 is an 8-bit GPIO port. The registers of Port 0 are shown in
.
For this port, all pins can be read as GPIO, from the Port Input Register.
Figure 7-4
Port 0 Register Overview
Table 7-5
Port 0 Registers
Register
Short Name
Register Long Name
Address
Offset
Reset
Value
P0_OUT
Port 0 Output Register
FFA2
H
0000
H
P0_IN
Port 0 Input Register
FF80
H
0000
H
P0_OMRL
Port 0 Output Modification Register Low
E9C0
H
XXXX
H
P0_POCON
Port 0 Output Control Register
E8A0
H
0000
H
P0_IOCR00
Port 0 Input/Output Control Register 0
E800
H
0000
H
P0_IOCR01
Port 0 Input/Output Control Register 1
E802
H
0000
H
P0_IOCR02
Port 0 Input/Output Control Register 2
E804
H
0000
H
P0_IOCR03
Port 0 Input/Output Control Register 3
E806
H
0000
H
P0_IOCR04
Port 0 Input/Output Control Register 4
E808
H
0000
H
P0_IOCR05
Port 0 Input/Output Control Register 5
E80A
H
0000
H
P0_IOCR06
Port 0 Input/Output Control Register 6
E80C
H
0000
H
P0_IOCR07
Port 0 Input/Output Control Register 7
E80E
H
0000
H
P0_OMRL
Port0_Regs.vsd
P0_IOCR00
P0_OUT
Modification
Registers
Data
Registers
P0_IN
Control
Registers
P0_IOCR07
:
P0_POCON