Datasheet

© 2007 Microchip Technology Inc. DS41202F-page 41
PIC16F684
4.3.1 RC0/AN4/C2IN+
The RC0 is configurable to function as one of the
following:
a general purpose I/O
an analog input for the ADC
an analog non-inverting input to the comparator
4.3.2 RC1/AN5/C2IN-
The RC1 is configurable to function as one of the
following:
a general purpose I/O
an analog input for the ADC
an analog inverting input to the comparator
FIGURE 4-7: BLOCK DIAGRAM OF RC0
AND RC1
4.3.3 RC2/AN6/P1D
The RC2 is configurable to function as one of the
following:
a general purpose I/O
an analog input for the ADC
a digital output from the Enhanced CCP
4.3.4 RC3/AN7/P1C
The RC3 is configurable to function as one of the
following:
a general purpose I/O
an analog input for the ADC
a digital output from the Enhanced CCP
FIGURE 4-8: BLOCK DIAGRAM OF RC2
AND RC3
I/O Pi
n
VDD
VSS
D
Q
CK
Q
D
Q
CK
Q
Data Bus
WR
PORTC
WR
TRISC
RD
TRISC
To A/D Converter
RD
PORTC
Analog Input
Mode
(1)
To Comparators
Note 1: Analog Input mode comes from ANSEL or
Comparator mode.
I/O Pin
VDD
VSS
D
Q
CK
Q
D
Q
CK
Q
Data Bus
WR
PORTC
WR
TRISC
RD
TRISC
To A/D Converter
RD
PORTC
Analog Input
Mode
(1)
0
1
CCPOUT
CCPOUT
Enable
Note 1: Analog Input mode comes from ANSEL.