Datasheet
2009-2011 Microchip Technology Inc. DS39960D-page 377
PIC18F87K22 FAMILY
FIGURE 25-2: COMPARATOR VOLTAGE REFERENCE OUTPUT BUFFER EXAMPLE
TABLE 25-1: REGISTERS ASSOCIATED WITH COMPARATOR VOLTAGE REFERENCE
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
CVRCON CVREN CVROE CVRSS CVR4 CVR3 CVR2 CVR1 CVR0
CM1CON
CON COE CPOL EVPOL1 EVPOL0 CREF CCH1 CCH0
CM2CON
CON COE CPOL EVPOL1 EVPOL0 CREF CCH1 CCH0
CM3CON
CON COE CPOL EVPOL1 EVPOL0 CREF CCH1 CCH0
TRISF
TRISF7 TRISF6 TRISF5 TRISF4 TRISF3 TRISF2 TRISF1 —
TRISA
TRISA7 TRISA6 TRISA5 TRISA4 TRISA3 TRISA2 TRISA1 TRISA0
ANCON0
ANSEL7 ANSEL6 ANSEL5 ANSEL4 ANSEL3 ANSEL2 ANSEL1 ANSEL0
ANCON1
ANSEL15 ANSEL14 ANSEL13 ANSEL12 ANSEL11 ANSEL10 ANSEL9 ANSEL8
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used with the comparator voltage reference.
CVREF Output
+
–
CVREF
Module
Voltage
Reference
Output
Impedance
R
(1)
PIC18F87K22
Note 1: R is dependent upon the Voltage Reference Configuration bits, CVRCON<3:0> and CVRCON<5>.
RF5