PIC32MX564F064H CVR registers

The 1 register of CVR (Comparator voltage reference), from 0xBF809800, with their reset value and every field. The PIC32MX564F064H has 506 registers in 58 peripherals, one page each.

Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.

CVR Comparator voltage reference

CVRCONComparator Voltage Reference Control Register

Address
0xBF809800
Reset
0x00000100
Access
read/write
Size
32-bit
7 fields
FieldBitsWhat it does
ON15Comparator Voltage Reference On bit
  • 0 Module is disabled and does not consume current. Clearing this bit does not affect the other bits in the register.
  • 1 Module is enabled. Setting this bit does not affect other bits in the register.
VREFSEL10Voltage Reference Select bit
  • 0 CVREF is generated by the resistor network
  • 1 CVREF = VREF+
BGSEL9:8Band Gap Reference Source bits
  • 0 IVREF = 1.2V (nominal)
  • 1 IVREF = 0.6V (nominal, default)
  • 2 Reserved
  • 3 IVREF = VREF+
CVROE6CVrefout Enable bit
  • 0 Voltage level is disconnected from CVrefout pin
  • 1 Voltage level is output on CVrefout pin
CVRR5CVref Range Selection bit
  • 0 0.25 CVrsrc to 0.75 CVrsrc with CVrsrc/32 step size
  • 1 0 to 0.67 CVrsrc with CVrsrc/24 step size
CVRSS4CVref Source Selection bit
  • 0 Comparator voltage reference source CVrsrc = AVdd - AVss
  • 1 Comparator voltage reference source CVrsrc = (Vref+) - (Vref-)
CVR3:0CVref Value Selection
  • 0 (When CVRR is 1) CVREF is (0/24) * CVRSRC / (When CVRR is 0) CVREF is (8/32)*CVRSRC
  • 1 (When CVRR is 1) CVREF is (1/24) * CVRSRC / (When CVRR is 0) CVREF is (9/32)*CVRSRC
  • 2 (When CVRR is 1) CVREF is (2/24) * CVRSRC / (When CVRR is 0) CVREF is (10/32)*CVRSRC
  • 3 (When CVRR is 1) CVREF is (3/24) * CVRSRC / (When CVRR is 0) CVREF is (11/32)*CVRSRC
  • 4 (When CVRR is 1) CVREF is (4/24) * CVRSRC / (When CVRR is 0) CVREF is (12/32)*CVRSRC
  • 5 (When CVRR is 1) CVREF is (5/24) * CVRSRC / (When CVRR is 0) CVREF is (13/32)*CVRSRC
  • 6 (When CVRR is 1) CVREF is (6/24) * CVRSRC / (When CVRR is 0) CVREF is (14/32)*CVRSRC
  • 7 (When CVRR is 1) CVREF is (7/24) * CVRSRC / (When CVRR is 0) CVREF is (15/32)*CVRSRC
  • 8 (When CVRR is 1) CVREF is (8/24) * CVRSRC / (When CVRR is 0) CVREF is (16/32)*CVRSRC
  • 9 (When CVRR is 1) CVREF is (9/24) * CVRSRC / (When CVRR is 0) CVREF is (17/32)*CVRSRC
  • 10 (When CVRR is 1) CVREF is (10/24) * CVRSRC / (When CVRR is 0) CVREF is (18/32)*CVRSRC
  • 11 (When CVRR is 1) CVREF is (11/24) * CVRSRC / (When CVRR is 0) CVREF is (19/32)*CVRSRC
  • 12 (When CVRR is 1) CVREF is (12/24) * CVRSRC / (When CVRR is 0) CVREF is (20/32)*CVRSRC
  • 13 (When CVRR is 1) CVREF is (13/24) * CVRSRC / (When CVRR is 0) CVREF is (21/32)*CVRSRC
  • 14 (When CVRR is 1) CVREF is (14/24) * CVRSRC / (When CVRR is 0) CVREF is (22/32)*CVRSRC
  • 15 (When CVRR is 1) CVREF is (15/24) * CVRSRC / (When CVRR is 0) CVREF is (23/32)*CVRSRC