English
Language : 

PIC16F882_12 Datasheet, PDF (44/338 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers
PIC16F882/883/884/886/887
3.2.3
PIN DESCRIPTIONS AND
DIAGRAMS
Each PORTA pin is multiplexed with other functions. The
pins and their combined functions are briefly described
here. For specific information about individual functions
such as the comparator or the A/D Converter (ADC),
refer to the appropriate section in this data sheet.
FIGURE 3-1:
BLOCK DIAGRAM OF RA0
Data Bus
3.2.3.1 RA0/AN0/ULPWU/C12IN0-
Figure 3-1 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• an analog input for the ADC
• a negative analog input to Comparator C1 or C2
• an analog input for the Ultra Low-Power Wake-up
VDD
WR
PORTA
DQ
CK Q
WR
TRISA
DQ
CK Q
RD
TRISA
RD
PORTA
I/O Pin
VSS
-
+
VTRG
01
Analog(1)
Input Mode
IULP
VSS
ULPWUE
To Comparator
To A/D Converter
Note 1: ANSEL determines Analog Input mode.
DS41291G-page 44
 2006-2012 Microchip Technology Inc.