Datasheet

PIC16F610/616/16HV610/616
DS41288F-page 72 © 2009 Microchip Technology Inc.
REGISTER 8-6: VRCON: VOLTAGE REFERENCE CONTROL REGISTER
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
C1VREN C2VREN VRR FVREN VR3 VR2 VR1 VR0
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7 C1VREN: Comparator 1 Voltage Reference Enable bit
1 = CV
REF circuit powered on and routed to C1VREF input of Comparator C1
0 = 0.6 Volt constant reference routed to C1V
REF input of Comparator C1
bit 6 C2VREN: Comparator 2 Voltage Reference Enable bit
1 = CV
REF circuit powered on and routed to C2VREF input of Comparator C2
0 = 0.6 Volt constant reference routed to C2V
REF input of Comparator C2
bit 5 VRR: CVREF Range Selection bit
1 = Low range
0 = High range
bit 4 FVREN: Fixed Voltage Reference (0.6V) Enable bit
1 = Enabled
0 = Disabled
bit 3-0 VR<3:0>: Comparator Voltage Reference CVREF Value Selection bits (0 VR<3:0> 15)
When VRR = 1: CVREF = (VR<3:0>/24) * VDD
When VRR = 0: CVREF = VDD/4 + (VR<3:0>/32) * VDD