English
Language : 

PIC18F45K80-I Datasheet, PDF (383/622 Pages) Microchip Technology – 28/40/44/64-Pin, Enhanced Flash Microcontrollers with ECAN and nanoWatt XLP Technology
PIC18F66K80 FAMILY
FIGURE 25-2:
COMPARATOR VOLTAGE REFERENCE OUTPUT BUFFER EXAMPLE
PIC18F66K80
CVREF
Module
R(1)
Voltage
Reference
Output
Impedance
RA0
+
–
CVREF Output
Note 1: R is dependent upon the Voltage Reference Configuration bits, CVRCON<3:0> and CVRCON<5>.
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.
 2010-2012 Microchip Technology Inc.
DS39977F-page 383