PIC18F2480/2580/4480/4580
FIGURE 22-2:
COMPARATOR VOLTAGE REFERENCE OUTPUT BUFFER EXAMPLE
PIC18F4X80
CV
REF
Module
R
(1)
Voltage
Reference
Output
Impedance
RA0
+
–
CV
REF
Output
Note 1:
R is dependent upon the voltage reference configuration bits, CVRCON<3:0> and CVRCON<5>.
TABLE 22-1:
Name
CVRCON
(2)
CMCON
(2)
TRISA
REGISTERS ASSOCIATED WITH COMPARATOR VOLTAGE REFERENCE
Bit 7
CVREN
C2OUT
Bit 6
CVROE
C1OUT
Bit 5
CVRR
C2INV
Bit 4
CVRSS
C1INV
Bit 3
CVR3
CIS
Bit 2
CVR2
CM2
Bit 1
CVR1
CM1
Bit 0
CVR0
CM0
Reset
Values
on Page:
TRISA7
(1)
TRISA6
(1)
PORTA Data Direction Register
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.
©
2009 Microchip Technology Inc.
DS39637D-page 271