Microchip Technology MA160014 Data Sheet

Page of 560
PIC18(L)F2X/4XK22
DS41412F-page 138
 2010-2012 Microchip Technology Inc.
10.1.1
PORTA OUTPUT PRIORITY
Each PORTA pin is multiplexed with other functions.
The pins, their combined functions and their output
priorities are briefly described here. For additional
information, refer to the appropriate section in this data
sheet.
When multiple outputs are enabled, the actual pin
control goes to the peripheral with the higher priority.
 lists the PORTA pin functions from the
highest to the lowest priority.
Analog input functions, such as ADC and comparator,
are not shown in the priority lists.
These inputs are active when the I/O pin is set for
Analog mode using the ANSELx registers. Digital
output functions may control the pin when it is in Analog
mode with the priority shown below.
TABLE 10-4:
PORT PIN FUNCTION PRIORITY
Port bit
Port Function Priority by Port Pin
PORTA
PORTB
PORTC
PORTD
(2)
PORTE
(2)
0
RA0
CCP4
(1)
SOSCO
SCL2
CCP3
(8)
RB0
P2B
(6)
SCK2
P3A
(8)
RC0
RD0
RE0
1
RA1
SCL2
(1)
SOSCI
SDA2
P3B
SCK2
(1)
CCP2
(3)
CCP4
RE1
P1C
(1)
P2A
(3)
RD1
RB1
RC1
2
RA2
SDA2
(1)
CCP1
P2B
CCP5
P1B
(1)
P1A
RD2
(4)
RE2
RB2
CTPLS
RC2
3
RA3
SDO2
(1)
SCL1
P2C
MCLR
CCP2
(6)
SCK1
RD3
V
PP
P2A
(6)
RC3
RE3
RB3
4
SRQ
P1D
(1)
SDA1
SDO2
C1OUT
RB4
RC4
P2D
CCP5
(1)
RD4
RA4
Note 1:
PIC18(L)F2XK22 devices.
2:
PIC18(L)F4XK22 devices.
3:
Function default pin. 
4:
Function default pin (28-pin devices).
5:
Function default pin (40/44-pin devices).
6:
Function alternate pin.
7:
Function alternate pin (28-pin devices).
8:
Function alternate pin (40/44-pin devices)