Datasheet

© 2007 Microchip Technology Inc. DS39599G-page 229
PIC18F2220/2320/4220/4320
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>).
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 CIS CM2 CM1 CM0 0000 0111 0000 0111
TRISA RA7
(1)
RA6
(1)
RA5 RA4 RA3 RA2 RA1 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).