The 1 register of CMP5 (Comparator 5), from 0xBF82C090, with their reset value and every field. The PIC32MK1024MCF100 has 1917 registers in 121 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.
CMP5 Comparator 5
CM5CONOp amp/Comparator 'x' Control Register ('x' = 1-5)
Address
0xBF82C090
Reset
0x00000000
Access
read/write
Size
32-bit
13 fields
Field
Bits
What it does
CFSEL
22:20
Comparator Output Filter Clock Source Select bits
0 SYSCLK Clock
1 PPBCLK2 Clock
2 PWM Secondary Special Event
3 REFCLK3 Clock
4 PBCLK2/Timer2 Period Value (PR2)
5 PBCLK2/Timer3 Period Value (PR3)
6 PBCLK2/Timer4 Period Value (PR4)
7 PBCLK2/Timer5 Period Value (PR5)
CFLTREN
19
Comparator Output Digital Filter Enable bit
0 Digital Filters disabled
1 Digital Filters enabled
CFDIV
18:16
Comparator Output Filter Clock Divide Select bits
0 1:1 Clock Divide
1 1:2 Clock Divide
2 1:4 Clock Divide
3 1:8 Clock Divide
4 1:16 Clock Divide
5 1:32 Clock Divide
6 1:64 Clock Divide
7 1:128 Clock Divide
ON
15
Comparator Enable bit
0 Comparator is disabled
1 Comparator is enabled
COE
14
Comparator Output Enable bit
0 Comparator output is internal only
1 Comparator output is present on the CxOUT pin
CPOL
13
Comparator Output Polarity Select bit
0 Comparator output is not inverted
1 Comparator output is inverted
OAO
11
Op amp Output Enable bit
0 Op amp output is not present on the OAxOUT pin
1 Op amp output is present on the OAxOUT pin
AMPMOD
10
Op amp Mode Enable bit
0 Amplifier/Comparator operating in Comparator-only mode
1 Amplifier/Comparator operating in Dual mode (both Op amps and Comparators are enabled)
CEVT
9
COUT
8
Comparator Output 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-
EVPOL
7:6
Trigger/Event Polarity Select bits
0 Trigger/Event generation is disabled
1 (If CPOL is 0) Low-to-high transition of the comparator output / (If CPOL is 1) High-to-low transition of the comparator output
2 (If CPOL is 0) High-to-low transition of the comparator output / (If CPOL is 1) Low-to-high transition of the comparator output
3 Trigger/Event generated on any change of the comparator output
CREF
4
Op amp/Comparator Reference Select bit
0 VIN+ input connects to CxIN1+ pin
1 VIN+ input connects to internal CDAC3 output voltage