PIC32MX775F256H CMP1 registers

The 1 register of CMP1 (Comparator 1), from 0xBF80A000, with their reset value and every field. The PIC32MX775F256H has 774 registers in 64 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.

CMP1 Comparator 1

CM1CONComparator Control Register

Address
0xBF80A000
Reset
0x000000C3
Access
read/write
Size
32-bit
7 fields
FieldBitsWhat it does
ON15Comparator ON bit
  • 0 Module is disabled and does not consume current. Clearing this bit does not affect the other bits in this register
  • 1 Module is enabled. Setting this bit does not affect the other bits in this register
COE14Comparator Output Enable bit
  • 0 Comparator output is not driven on the output CxOUT pin
  • 1 Comparator output is driven on the output CxOUT pin
CPOL13Comparator Output Inversion bit
  • 0 Output is not inverted
  • 1 Output is inverted
COUT8Comparator Output bit
  • 0 Output of the Comparator is a 0
  • 1 Output of the Comparator is a 1
EVPOL7:6Interrupt Event Polarity Select bits
  • 0 Comparator interrupt generation is disabled
  • 1 Comparator interrupt is generated on a low-to-high transition of the comparator output
  • 2 Comparator interrupt is generated on a high-to-low transition of the comparator output
  • 3 Comparator interrupt is generated on a low-to-high or high-to-low transition of the comparator output
CREF4Comparator Positive Input Configure bit
  • 0 Comparator non-inverting input is connected to the C1IN+ pin
  • 1 Comparator non-inverting input is connected to the internal CVREF
CCH1:0Comparator Negative Input Select bits for Comparator
  • 0 Comparator inverting input is connected to the C1IN- pin
  • 1 Comparator inverting input is connected to the C1IN+ pin
  • 2 Comparator inverting input is connected to the C2IN+ pin
  • 3 Comparator inverting input is connected to the IVREF