English
Language : 

PIC18F2220 Datasheet, PDF (231/388 Pages) Microchip Technology – 28/40/44-Pin High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PIC18F2220/2320/4220/4320
FIGURE 21-2:
VOLTAGE REFERENCE OUTPUT BUFFER EXAMPLE
CVREF
R(1)
Module
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 21-1: REGISTERS ASSOCIATED WITH COMPARATOR VOLTAGE REFERENCE
Name
Bit 7
Bit 6
Bit 5 Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR
Value on
all other
Resets
CVRCON CVREN CVROE CVRR — CVR3 CVR2 CVR1 CVR0 000- 0000 000- 0000
CMCON C2OUT C1OUT C2INV C1INV
TRISA
RA7(1) RA6(1) RA5 RA4
CIS
RA3
CM2
RA2
CM1
RA1
CM0 0000 0111 0000 0111
RA0 1111 1111 1111 1111
Legend: x = unknown, u = unchanged, - = unimplemented, read as ‘0’.
Shaded cells are not used with the comparator voltage reference.
Note 1: These pins are enabled based on oscillator configuration (see Configuration Register 1H).
 2003 Microchip Technology Inc.
DS39599C-page 229