PIC32MX130F128H CVR registers

The 1 register of CVR (Comparator voltage reference), from 0xBF809800, with their reset value and every field. The PIC32MX130F128H has 458 registers in 53 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
0x00000000
Access
read/write
Size
32-bit
5 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.
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 CVRSRC/4 + (0/32)*CVRSRC
  • 1 (When CVRR is 1) CVREF is (1/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (1/32)*CVRSRC
  • 2 (When CVRR is 1) CVREF is (2/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (2/32)*CVRSRC
  • 3 (When CVRR is 1) CVREF is (3/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (3/32)*CVRSRC
  • 4 (When CVRR is 1) CVREF is (4/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (4/32)*CVRSRC
  • 5 (When CVRR is 1) CVREF is (5/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (5/32)*CVRSRC
  • 6 (When CVRR is 1) CVREF is (6/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (6/32)*CVRSRC
  • 7 (When CVRR is 1) CVREF is (7/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (7/32)*CVRSRC
  • 8 (When CVRR is 1) CVREF is (8/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (8/32)*CVRSRC
  • 9 (When CVRR is 1) CVREF is (9/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (9/32)*CVRSRC
  • 10 (When CVRR is 1) CVREF is (10/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (10/32)*CVRSRC
  • 11 (When CVRR is 1) CVREF is (11/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (11/32)*CVRSRC
  • 12 (When CVRR is 1) CVREF is (12/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (12/32)*CVRSRC
  • 13 (When CVRR is 1) CVREF is (13/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (13/32)*CVRSRC
  • 14 (When CVRR is 1) CVREF is (14/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (14/32)*CVRSRC
  • 15 (When CVRR is 1) CVREF is (15/24) * CVRSRC / (When CVRR is 0) CVREF is CVRSRC/4 + (15/32)*CVRSRC