Datasheet

2011 Microchip Technology Inc. DS41391D-page 121
PIC16(L)F1826/27
12.2.3 PORTA FUNCTIONS AND OUTPUT
PRIORITIES
Each PORTA pin is multiplexed with other functions. The
pins, their combined functions and their output priorities
are shown in Table 12-2.
When multiple outputs are enabled, the actual pin
control goes to the peripheral with the highest priority.
Analog input functions, such as ADC, comparator and
CapSense inputs, 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 in Tabl e 12 -2 .
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 lowest number in
the following lists.
TABLE 12-2: PORTA OUTPUT PRIORITY
Pin Name Function Priority
(1)
RA0 SDO2 (PIC16(L)F1827 only)
RA0
RA1 SS2
(PIC16(L)F1827 only)
RA1
RA2 DACOUT (DAC)
RA2
RA3 SRQ (SR latch)
CCP3 (PIC16(L)F1827 only)
C1OUT (Comparator)
RA3
RA4 SRNQ (SR latch)
CCP4 (PIC16(L)F1827 only)
T0CKI
C2OUT (Comparator)
RA4
RA5 Input only pin
RA6 OSC2 (enabled by Configura-
tion Word)
CLKOUT
CLKR
SDO1
P1D
P2B (PIC16(L)F1827 only)
RA6
RA7 OSC1/CLKIN (enabled by
Configuration Word)
P1C
CCP2 (PIC16(L)F1827 only)
P2A (PIC16(L)F1827 only)
RA7
Note 1: Priority listed from highest to lowest.