English
Language : 

PIC18F2X1X Datasheet, PDF (231/380 Pages) Microchip Technology – 28/40/44-PIN FLASH MICROCONTROLLERS WITH 10-BIT A/D AND NANO WATT TECHNOLOGY
PIC18F2X1X/4X1X
FIGURE 20-2:
COMPARATOR VOLTAGE REFERENCE OUTPUT BUFFER EXAMPLE
PIC18FXXXX
CVREF
Module
R(1)
Voltage
Reference
Output
Impedance
RA2
+
–
CVREF Output
Note 1: R is dependent upon the voltage reference configuration bits, CVRCON<3:0> and CVRCON<5>.
TABLE 20-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 CVRR CVRSS CVR3 CVR2
CMCON
TRISA
C2OUT C1OUT C2INV C1INV
CIS
CM2
TRISA7(1) TRISA6(1) PORTA Data Direction Control Register
Legend: Shaded cells are not used with the comparator voltage reference.
Note 1: PORTA pins are enabled based on oscillator configuration.
CVR1
CM1
CVR0
CM0
Reset
Values
on page
51
51
52
 2004 Microchip Technology Inc.
Preliminary
DS39636A-page 229