XC886/888CLM
Parallel Ports
User’s Manual
6-46
V1.3, 2010-02
Parallel Ports, V 1.0
6.8
Port 5
Port P5 is an 8-bit general purpose bidirectional port. The registers of P5 are
summarized in
Note: Port 5 is only available in XC888.
6.8.1
Functions
Port 5 input and output functions are shown in
.
Table 6-13
Port 5 Registers
Register Short Name
Register Full Name
P5_DATA
Port 5 Data Register
P5_DIR
Port 5 Direction Register
P5_OD
Port 5 Open Drain Control Register
P5_PUDSEL
Port 5 Pull-Up/Pull-Down Select Register
P5_PUDEN
Port 5 Pull-Up/Pull-Down Enable Register
P5_ALTSEL0
Port 5 Alternate Select Register 0
P5_ALTSEL1
Port 5 Alternate Select Register 1
Table 6-14
Port 5 Input/Output Functions
Port Pin
Input/Output Select
Connected Signal(s)
From/to Module
P5.0
Input
GPI
P5_DATA.P0
–
ALT1
–
–
ALT2
EXINT1_1
External Interrupt 1
ALT3
–
–
Output
GPO
P5_DATA.P0
–
ALT1
–
–
ALT2
–
–
ALT 3
–
–
*