Datasheet

© 2008 Microchip Technology Inc. DS41249E-page 47
PIC16F785/HV785
4.4.1.5 RC2/AN6/C12IN2-/OP2
The RC2 is configurable to function as one of the
following:
General purpose I/O
Analog input for the A/D Converter
Analog input to Comparators 1 and 2
Analog output from Op Amp 2
4.4.1.6 RC3/AN7/C12IN3-/OP1
The RC3 is configurable to function as one of the
following:
General purpose I/O
Analog input for the A/D Converter
Analog input to Comparators 1 and 2
Analog output for Op Amp 1
FIGURE 4-12: BLOCK DIAGRAM OF RC2
AND RC3
4.4.1.7 RC4/C2OUT/PH2
The RC4 is configurable to function as one of the
following:
General purpose I/O
Digital output from Comparator 2
Digital output from the Two-Phase PWM
FIGURE 4-13: BLOCK DIAGRAM OF RC4
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
ANS6 (RC2)
ANS7 (RC3)
To Comparators
Op Amp out
OPAON
RD
PORTC
D
EN
Q
I/O Pin
VDD
VSS
D
Q
CK
Q
D
Q
CK
Q
Data Bus
WR
PORTC
WR
TRISC
RD
TRISC
0
1
PH2
0
1
C2OUT
PH2EN
C2OE
RD
PORTC
D
EN
Q