XC2200 Derivatives
System Units (Vol. 1 of 2)
Parallel Ports
User’s Manual
7-23
V2.1, 2008-08
Parallel Ports, V1.6D6
7.3.5
Port 4
Port 4 is an 8-bit GPIO port. The registers of Port 4 are shown in
.
For this port, all pins can be read as GPIO, from the Port Input Register.
Figure 7-8
Port 4 Register Overview
Table 7-9
Port 4 Registers
Register
Short Name
Register Long Name
Address
Offset
Reset
Value
P4_OUT
Port 4 Output Register
FFAA
H
0000
H
P4_IN
Port 4 Input Register
FF88
H
0000
H
P4_OMRL
Port 4 Output Modification Register Low
E9D0
H
XXXX
H
P4_POCON
Port 4 Output Control Register
E8A8
H
0000
H
P4_IOCR00
Port 4 Input/Output Control Register 0
E880
H
0000
H
P4_IOCR01
Port 4 Input/Output Control Register 1
E882
H
0000
H
P4_IOCR02
Port 4 Input/Output Control Register 2
E884
H
0000
H
P4_IOCR03
Port 4 Input/Output Control Register 3
E886
H
0000
H
P4_IOCR04
Port 4 Input/Output Control Register 4
E888
H
0000
H
P4_IOCR05
Port 4 Input/Output Control Register 5
E88A
H
0000
H
P4_IOCR06
Port 4 Input/Output Control Register 6
E88C
H
0000
H
P4_IOCR07
Port 4 Input/Output Control Register 7
E88E
H
0000
H
P4_OMRL
Port4_Regs.vsd
P4_IOCR00
P4_OUT
Modification
Registers
Data
Registers
P4_IN
Control
Registers
P4_IOCR07
:
P4_POCON