Datasheet

© 2009 Microchip Technology Inc. DS41203E-page 43
PIC16F688
4.3.1 RC0/AN4/C2IN+
Figure 4-7 shows the diagram for this pin. The RC0 is
configurable to function as one of the following:
a general purpose I/O
an analog input for the A/D Converter
an analog input to the comparator
4.3.2 RC1/AN5/C2IN-
Figure 4-7 shows the diagram for this pin. The RC1 is
configurable to function as one of the following:
a general purpose I/O
an analog input for the A/D Converter
an analog input to the comparator
FIGURE 4-7: BLOCK DIAGRAM OF RC0
AND RC1
4.3.3 RC2/AN6
Figure 4-8 shows the diagram for this pin. The RC2 is
configurable to function as one of the following:
a general purpose I/O
an analog input for the A/D Converter
4.3.4 RC3/AN7
Figure 4-8 shows the diagram for this pin. The RC3 is
configurable to function as one of the following:
a general purpose I/O
an analog input for the A/D Converter
FIGURE 4-8: BLOCK DIAGRAM OF RC2
AND RC3
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)
To Comparators
Note 1: Analog Input mode is based upon Comparator mode
and ANSEL.
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)
Note 1: Analog Input mode comes from ANSEL.