Datasheet

PIC16F785/HV785
DS41249E-page 64 © 2008 Microchip Technology Inc.
FIGURE 9-1: COMPARATOR C1 SIMPLIFIED BLOCK DIAGRAM
Note 1: When C1ON = 0, the C1 comparator will produce a ‘0’ output to the XOR Gate.
2: Output shown for reference only. For more detail, see Figure 4-3.
MUX
C1
C1POL
C1OUT
To PWM Logic
0
1
2
3
C1ON
(1)
C1SP
C1CH<1:0>
2
0
1
C1R
C1OE
C1VREF
MUX
RD_CM1CON0
Set C1IF
To
C1VN
C1VP
RA2/AN2/T0CKI/INT/C1OUT
(2)
RA1/AN1/C12IN0-/VREF/ICSPCLK
RC1/AN5/C12IN1-/PH1
RC2/AN6/C12IN2-/OP2
RC3/AN7/C12IN3-/OP1
RA0/AN0/C1IN+/ICSPDAT
DQ
EN
Q1
Data Bus
C1POL
DQ
EN
CL
Q3*RD_CM1CON0
NRESET