|
DSPIC33EP256GP506-I Datasheet, PDF (368/510 Pages) Microchip Technology – 16-bit Microcontrollers and Digital Signal Controllers | |||
|
◁ |
dsPIC33EPXXXGP50X, dsPIC33EPXXXMC20X/50X, AND PIC24EPXXXGP/MC20X
REGISTER 25-7: CVRCON: COMPARATOR VOLTAGE REFERENCE CONTROL REGISTER
U-0
â
bit 15
R/W-0
U-0
CVR2OE(1)
â
U-0
U-0
R/W-0
U-0
â
â
VREFSEL
â
U-0
â
bit 8
R/W-0
CVREN
bit 7
R/W-0
CVR1OE(1)
R/W-0
CVRR
R/W-0
CVRSS
R/W-0
R/W-0
R/W-0
CVR<3:0>
R/W-0
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
bit 14
bit 13-11
bit 10
bit 9-8
bit 7
bit 6
bit 5
bit 4
bit 3-0
Unimplemented: Read as â0â
CVR2OE: Comparator Voltage Reference 2 Output Enable bit(1)
1 = (AVDD â AVSS)/2 is connected to the CVREF2O pin
0 = (AVDD â AVSS)/2 is disconnected from the CVREF2O pin
Unimplemented: Read as â0â
VREFSEL: Voltage Reference Select bit
1 = CVREFIN = VREF+
0 = CVREFIN is generated by the resistor network
Unimplemented: Read as â0â
CVREN: Comparator Voltage Reference Enable bit
1 = Comparator voltage reference circuit powered on
0 = Comparator voltage reference circuit powered down
CVR1OE: Comparator Voltage Reference 1 Output Enable bit(1)
1 = Voltage level is output on CVREF1O pin
0 = Voltage level is disconnected from CVREF1O pin
CVRR: Comparator Voltage Reference Range Selection bit
1 = CVRSRC/24 step size
0 = CVRSRC/32 step size
CVRSS: Comparator Voltage Reference Source Selection bit
1 = Comparator voltage reference source, CVRSRC = (VREF+) â (AVSS)
0 = Comparator voltage reference source, CVRSRC = AVDD â AVSS
CVR<3:0> Comparator Voltage Reference Value Selection 0 ⤠CVR<3:0> â¤15 bits
When CVRR = 1:
CVREFIN = (CVR<3:0>/24) ⢠(CVRSRC)
When CVRR = 0:
CVREFIN = (CVRSRC/4) + (CVR<3:0>/32) ⢠(CVRSRC)
Note 1: CVRxOE overrides the TRISx and the ANSELx bit settings.
DS70657E-page 368
Preliminary
© 2011-2012 Microchip Technology Inc.
|
▷ |