English
Language : 

PIC18F4550-IP Datasheet, PDF (285/438 Pages) Microchip Technology – 28/40/44-Pin, High-Performance, Enhanced Flash, USB Microcontrollers with nanoWatt Technology
PIC18F2455/2550/4455/4550
FIGURE 23-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<5> and CVRCON<3:0>.
TABLE 23-1: REGISTERS ASSOCIATED WITH COMPARATOR VOLTAGE REFERENCE
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Reset
Values
on page
CVRCON CVREN CVROE CVRR CVRSS CVR3 CVR2 CVR1 CVR0
55
CMCON
TRISA
C2OUT C1OUT C2INV C1INV
CIS
CM2
CM1
CM0
55
—
TRISA6(1) TRISA5 TRISA4 TRISA3 TRISA2 TRISA1 TRISA0
56
Legend: Shaded cells are not used with the comparator voltage reference.
Note 1: PORTA<6> and its direction and latch bits are individually configured as port pins based on various
oscillator modes. When disabled, these bits read as ‘0’.
© 2009 Microchip Technology Inc.
DS39632E-page 283