Datasheet
2004 Microchip Technology Inc. Preliminary DS39637A-page 265
PIC18F2480/2580/4480/4580
FIGURE 21-2: VOLTAGE REFERENCE OUTPUT BUFFER EXAMPLE
TABLE 21-1: REGISTERS ASSOCIATED WITH COMPARATOR VOLTAGE REFERENCE
CVREF Output
+
–
CVREF
Module
Voltage
Reference
Output
Impedance
R
(1)
RA2
Note 1: R is dependent upon the voltage reference configuration bits, CVRCON<3:0> and CVRCON<5>.
PIC18F4X80
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Reset
Values
on page
CVRCON
(2)
CVREN CVROE CVRR CVRSS CVR3 CVR2 CVR1 CVR0 51
CMCON
(2)
C2OUT C1OUT C2INV C1INV CIS CM2 CM1 CM0 51
TRISA TRISA7
(1)
TRISA6
(1)
PORTA Data Direction Register 52
Legend: Shaded cells are not used with the comparator voltage reference.
Note 1: PORTA pins are enabled based on oscillator configuration.
2: These registers are unimplemented on PIC18F2X80 devices.