Datasheet

2010-2012 Microchip Technology Inc. DS39977F-page 383
PIC18F66K80 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
TRISA
TRISA7 TRISA6 TRISA5 TRISA3 TRISA2 TRISA1 TRISA0
ANCON0
ANSEL7 ANSEL6 ANSEL5 ANSEL4 ANSEL3 ANSEL2 ANSEL1 ANSEL0
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)
RA0
PIC18F66K80
Note 1: R is dependent upon the Voltage Reference Configuration bits, CVRCON<3:0> and CVRCON<5>.