The 9 registers of ACC (Analog Comparator Controller), from 0x40028000, with their reset value and every field. The PIC32CX1025MTSH128 has 2920 registers in 63 peripherals, one page each.
ACC Analog Comparator Controller
ACC_CRControl Register
Address
0x40028000
Reset
0x00000000
Access
write only
Size
32-bit
1 field
Field
Bits
What it does
SWRST
0
Software Reset
ACC_MRMode Register
Address
0x40028004
Reset
0x00000000
Access
read/write
Size
32-bit
7 fields
Field
Bits
What it does
FE
14
Fault Enable
0 The FAULT output is tied to 0.
1 The FAULT output is driven by the signal defined by SELFS.
SELFS
13
Selection Of Fault Source
0 The CE flag is used to drive the FAULT output.
1 The output of the analog comparator flag is used to drive the FAULT output.
INV
12
Invert Comparator Output
0 Analog comparator output is directly processed.
1 Analog comparator output is inverted prior to being processed.
EDGETYP
10:9
Edge Type
0 Only rising edge of comparator output
1 Falling edge of comparator output
2 Any edge of comparator output
ACEN
8
Analog Comparator Enable
0 Analog comparator disabled.
1 Analog comparator enabled.
SELPLUS
6:4
Selection For Plus Comparator Input
0 Selects AD0
1 Selects AD1
2 Selects AD2
3 Selects VREFP
SELMINUS
2:0
Selection for Minus Comparator Input
0 Selects AD3
1 Selects AD4
2 Selects VTEMP
3 Selects VREFTEMP
ACC_IERInterrupt Enable Register
Address
0x40028024
Reset
0x00000000
Access
write only
Size
32-bit
1 field
Field
Bits
What it does
CE
0
Comparison Edge
ACC_IDRInterrupt Disable Register
Address
0x40028028
Reset
0x00000000
Access
write only
Size
32-bit
1 field
Field
Bits
What it does
CE
0
Comparison Edge
ACC_IMRInterrupt Mask Register
Address
0x4002802C
Reset
0x00000000
Access
read only
Size
32-bit
1 field
Field
Bits
What it does
CE
0
Comparison Edge
ACC_ISRInterrupt Status Register
Address
0x40028030
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
Field
Bits
What it does
SCO
1
Synchronized Comparator Output
CE
0
Comparison Edge (cleared on read)
MASK
31
Flag Mask
ACC_ACRAnalog Control Register
Address
0x40028094
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
MSEL
0
Masking Period Selection
0 Masks AC output for 16 peripheral clock periods after any write access in ACC_MR or ACC_CR
1 Masks AC output for 128 peripheral clock periods after any write access in ACC_MR or ACC_CR
ACC_WPMRWrite Protection Mode Register
Address
0x400280E4
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
WPEN
0
Write Protection Configuration Enable
WPKEY
31:8
Write Protection Key
4277059 Writing any other value in this field aborts the write operation of the WPEN bit. Always reads as 0.