English
Language : 

PIC18F66K22-I Datasheet, PDF (372/550 Pages) Microchip Technology – PIC18F87K22 Family Data Sheet
PIC18F87K22 FAMILY
FIGURE 24-4:
COMPARATOR CONFIGURATIONS
Comparator Off
CON = 0, CREF = x, CCH<1:0> = xx
VIN-
VIN+
Cx
COE
Off (Read as ‘0’)
CxOUT
Pin
Comparator CxINB > CxINA Compare
CON = 1, CREF = 0, CCH<1:0> = 00
CxINB
CxINA
VIN-
VIN+ Cx
COE
CxOUT
Pin
Comparator CxINC > CxINA Compare(2,3)
CON = 1, CREF = 0, CCH<1:0> = 01
CxINC
CxINA
VIN-
VIN+ Cx
COE
CxOUT
Pin
Comparator CxIND > CxINA Compare(3)
CON = 1, CREF = 0, CCH<1:0> = 10
C2INB/
C2IND
CxINA
VIN-
VIN+ Cx
COE
Comparator CxINB > CVREF Compare
CON = 1, CREF = 1, CCH<1:0> = 00
CxINB
CVREF
VIN-
VIN+ Cx
COE
Comparator VIRV > CxINA Compare
CON = 1, CREF = 0, CCH<1:0> = 11
CxOUT
Pin
VBG(1)
CxINA
VIN-
VIN+ Cx
COE
Comparator CxINC > CVREF Compare(2,3)
CON = 1, CREF = 1, CCH<1:0> = 01
CxOUT
Pin
CxINC
CVREF
VIN-
VIN+ Cx
COE
CxOUT
Pin
CxOUT
Pin
Comparator CxIND > CVREF Compare(3)
CON = 1, CREF = 1, CCH<1:0> = 10
C2INB/
C2IND
CVREF
VIN-
VIN+
Cx
COE
Comparator VIRV > CVREF Compare
CON = 1, CREF = 1, CCH<1:0> = 11
CxOUT
Pin
VBG(1)
CVREF
VIN-
VIN+ Cx
Note 1:
2:
3:
VBG is the Internal Reference Voltage (1.024V nominal).
Configuration is unavailable for CM1CON on 64-pin devices (PIC18F6XK22).
Configuration is unavailable for CM2CON on 64-pin devices (PIC18F6XK22).
COE
CxOUT
Pin
DS39960D-page 372
 2009-2011 Microchip Technology Inc.