PIC16F882/883/884/886/887
3.2.3
PIN DESCRIPTIONS AND
DIAGRAMS
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:
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.
• 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
FIGURE 3-1:
BLOCK DIAGRAM OF RA0
VDD
Data Bus
D
Q
Q
I/O Pin
WR
CK
PORTA
VSS
-
+
VTRG
D
Q
Q
WR
TRISA
CK
IULP
0
1
RD
TRISA
(1)
Analog
Input Mode
VSS
ULPWUE
RD
PORTA
To Comparator
To A/D Converter
Note 1: ANSEL determines Analog Input mode.
DS41291D-page 42
Preliminary
© 2007 Microchip Technology Inc.