English
Language : 

PIC18F23K22 Datasheet, PDF (136/492 Pages) Microchip Technology – 28/40/44-Pin, Low-Power, High-Performance Microcontrollers with nanoWatt XLP Technology
PIC18(L)F2X/4XK22
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.
Table 10-4 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
PORTA
Port Function Priority by Port Pin
PORTB
PORTC
PORTD(2)
0
RA0
CCP4(1)
SOSCO
SCL2
RB0
P2B(6)
SCK2
RC0
RD0
1
RA1
SCL2(1)
SOSCI
SDA2
SCK2(1)
CCP2(3)
CCP4
P1C(1)
P2A(3)
RD1
RB1
RC1
2
RA2
SDA2(1)
CCP1
P2B
P1B(1)
P1A
RD2(4)
RB2
CTPLS
RC2
3
RA3
SDO2(1)
SCL1
P2C
CCP2(6)
SCK1
RD3
P2A(6)
RC3
RB3
4
SRQ
P1D(1)
SDA1
SDO2
C1OUT
CCP5(1)
RB4
RC4
P2D
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)
PORTE(2)
CCP3(8)
P3A(8)
RE0
P3B
RE1
CCP5
RE2
MCLR
VPP
RE3
DS41412B-page 136
Preliminary
 2010 Microchip Technology Inc.