PIC32MK1024GPD064 CMP registers

The 1 register of CMP (Comparator), from 0xBF82C000, with their reset value and every field. The PIC32MK1024GPD064 has 1106 registers in 106 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

CMSTATOp amp/Comparator Status Register

Address
0xBF82C000
Reset
0x00000000
Access
read/write
Size
32-bit
11 fields
FieldBitsWhat it does
C5EVT20
C4EVT19
C3EVT18
C2EVT17
C1EVT16
SIDL13Stop in Idle Mode bit
  • 0 Continue module operation in Idle mode
  • 1 Discontinue operation of all Op amp/Comparators when device enters Idle mode
C5OUT4Op amp/Comparator 5 Output Status bit
  • 0 (When CPOL is 0) VIN+ VTH+
  • 1 (When CPOL is 0) Vin+ > Vth+ / (When CPOL is 1) VIN+ Vth+ / (When CPOL is 1) VIN+ < VTH-
C4OUT3Op amp/Comparator 4 Output Status bit
  • 0 (When CPOL is 0) VIN+ VTH+
  • 1 (When CPOL is 0) Vin+ > Vth+ / (When CPOL is 1) VIN+ Vth+ / (When CPOL is 1) VIN+ < VTH-
C3OUT2Op amp/Comparator 3 Output Status bit
  • 0 (When CPOL is 0) VIN+ VTH+
  • 1 (When CPOL is 0) Vin+ > Vth+ / (When CPOL is 1) VIN+ Vth+ / (When CPOL is 1) VIN+ < VTH-
C2OUT1Op amp/Comparator 2 Output Status bit
  • 0 (When CPOL is 0) VIN+ VTH+
  • 1 (When CPOL is 0) Vin+ > Vth+ / (When CPOL is 1) VIN+ Vth+ / (When CPOL is 1) VIN+ < VTH-
C1OUT0Op amp/Comparator 1 Output Status bit
  • 0 (When CPOL is 0) VIN+ VTH+
  • 1 (When CPOL is 0) Vin+ > Vth+ / (When CPOL is 1) VIN+ Vth+ / (When CPOL is 1) VIN+ < VTH-