English
Language : 

PIC16F676-I Datasheet, PDF (24/132 Pages) Microchip Technology – 14-Pin, Flash-Based 8-Bit CMOS Microcontrollers
PIC16F630/676
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 individ-
ual functions such as the comparator or the A/D, refer
to the appropriate section in this Data Sheet.
3.2.3.1 RA0/AN0/CIN+
Figure 3-1 shows the diagram for this pin. The RA0 pin
is configurable to function as one of the following:
• a general purpose I/O
• an analog input for the A/D (PIC16F676 only)
• an analog input to the comparator
3.2.3.2 RA1/AN1/CIN-/VREF
Figure 3-1 shows the diagram for this pin. The RA1 pin
is configurable to function as one of the following:
• as a general purpose I/O
• an analog input for the A/D (PIC16F676 only)
• an analog input to the comparator
• a voltage reference input for the A/D (PIC16F676
only)
FIGURE 3-1:
Data Bus
DQ
WR
WPUA
CK Q
RD
WPUA
BLOCK DIAGRAM OF RA0
AND RA1 PINS
Analog
Input Mode
VDD
Weak
RAPU
WR
PORTA
DQ
CK Q
WR
TRISA
DQ
CK Q
RD
TRISA
RD
PORTA
DQ
WR
IOCA
CK Q
RD
IOCA
Interrupt-on-Change
VDD
I/O pin
VSS
Analog
Input Mode
QD
EN
QD
EN
RD PORTA
To Comparator
To A/D Converter
DS40039F-page 24
 2010 Microchip Technology Inc.