English
Language : 

PIC18F2682 Datasheet, PDF (267/484 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
PIC18F2682/2685/4682/4685
FIGURE 21-2:
COMPARATOR VOLTAGE REFERENCE OUTPUT BUFFER EXAMPLE
PIC18F4682/4685
CVREF
Module
R(1)
Voltage
Reference
Output
Impedance
RA0
+
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
CVRCON(2)
CMCON(2)
TRISA
CVREN CVROE CVRR CVRSS CVR3
C2OUT C1OUT C2INV C1INV
CIS
TRISA7(1) TRISA6(1) PORTA Data Direction Register
CVR2
CM2
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 PIC18F2682/2685 devices.
CVR1
CM1
CVR0
CM0
Reset
Values
on page
51
51
52
© 2007 Microchip Technology Inc.
Preliminary
DS39761B-page 265