XC886/888CLM
Parallel Ports
User’s Manual
6-39
V1.3, 2010-02
Parallel Ports, V 1.0
6.7
Port 4
Port P4 is an 8-bit general purpose bidirectional port. The registers of P4 are
summarized in
6.7.1
Functions
Port 4 input and output functions are shown in
.
Table 6-11
Port 4 Registers
Register Short Name
Register Full Name
P4_DATA
Port 4 Data Register
P4_DIR
Port 4 Direction Register
P4_OD
Port 4 Open Drain Control Register
P4_PUDSEL
Port 4 Pull-Up/Pull-Down Select Register
P4_PUDEN
Port 4 Pull-Up/Pull-Down Enable Register
P4_ALTSEL0
Port 4 Alternate Select Register 0
P4_ALTSEL1
Port 4 Alternate Select Register 1
Table 6-12
Port 4 Input/Output Functions
Port Pin
Input/Output Select
Connected Signal(s)
From/to Module
P4.0
Input
GPI
P4_DATA.P0
–
ALT1
–
–
ALT2
–
–
ALT3
RXDC0_3
MultiCAN
Output
GPO
P4_DATA.P0
–
ALT1
CC60_1
CCU6
ALT2
–
–
ALT 3
–
–
*