PIC32MM0064GPM028 CMP registers

The 1 register of CMP (Comparator), from 0xBF802300, with their reset value and every field. The PIC32MM0064GPM028 has 419 registers in 52 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.

CMP Comparator

CMSTAT

Address
0xBF802300
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
FieldBitsWhat it does
C3EVT18
C2EVT17
C1EVT16
SIDL13Stop in Idle Control bit
  • 0 All Comparator modules continue to operate in the Idle mode
  • 1 All Comparator modules are disabled in Idle mode
CVREFSEL8Comparator Reference Voltage Select (CVREFSEL)
  • 0 Internal band gap voltage reference is selected
  • 1 External voltage reference from the CVREF+ pin is selected
C3OUT2Comparator 3 Output bit
  • 0 Output of Comparator 3 is a 0
  • 1 Output of Comparator 3 is a 1
C2OUT1Comparator 2 Output bit
  • 0 Output of Comparator 2 is a 0
  • 1 Output of Comparator 2 is a 1
C1OUT0Comparator 1 Output bit
  • 0 Output of Comparator 1 is a 0
  • 1 Output of Comparator 1 is a 1