English
Language : 

PIC24FJ64GA705 Datasheet, PDF (316/412 Pages) –
PIC24FJ256GA705 FAMILY
REGISTER 26-1: CVRCON: COMPARATOR VOLTAGE REFERENCE CONTROL REGISTER
U-0
U-0
U-0
U-0
U-0
R/W-0
R/W-0
R/W-0
—
—
—
—
—
CVREFP CVREFM1 CVREFM0
bit 15
bit 8
R/W-0
CVREN
bit 7
R/W-0
CVROE
R/W-0
CVRSS
R/W-0
CVR4
R/W-0
CVR3
R/W-0
CVR2
R/W-0
CVR1
R/W-0
CVR0
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 15-11
bit 10
bit 9-8
bit 7
bit 6
bit 5
bit 4-0
Unimplemented: Read as ‘0’
CVREFP: Comparator Voltage Reference Select bit (valid only when CREF is ‘1’)
1 = CVREF+ is used as a reference voltage to the comparators
0 = The CVR<4:0> bits (5-bit DAC) within this module provide the reference voltage to the comparators
CVREFM<1:0>: Comparator Band Gap Reference Source Select bits (valid only when CCH<1:0> = 11)
00 = Band gap voltage is provided as an input to the comparators
01 = Reserved
10 = Reserved
11 = CVREF+ is provided as an input to the comparators
CVREN: Comparator Voltage Reference Enable bit
1 = CVREF circuit is powered on
0 = CVREF circuit is powered down
CVROE: Comparator VREF Output Enable bit
1 = CVREF voltage level is output on the CVREF pin
0 = CVREF voltage level is disconnected from the CVREF pin
CVRSS: Comparator VREF Source Selection bit
1 = Comparator reference source, CVRSRC = CVREF+ – CVREF-
0 = Comparator reference source, CVRSRC = AVDD – AVSS
CVR<4:0>: Comparator VREF Value Selection 0  CVR<4:0>  31 bits
When CVRSS = 1:
CVREF = (CVREF-) + (CVR<4:0>/32)  (CVREF+ – CVREF-)
When CVRSS = 0:
CVREF = (AVSS) + (CVR<4:0>/32)  (AVDD – AVSS)
DS30010118B-page 316
 2016 Microchip Technology Inc.