The 9 registers of ACC (Analog Comparator Controller), from 0x40044000, with their reset value and every field. The PIC32CZ1038CA70144 has 2990 registers in 68 peripherals, one page each.
ACC Analog Comparator Controller
ACC_CRControl Register
Address
0x40044000
Reset
0x00000000
Access
write only
Size
32-bit
1 field
Field
Bits
What it does
SWRST
0
Software Reset
ACC_MRMode Register
Address
0x40044004
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 Select AFE0_AD0
1 Select AFE0_AD1
2 Select AFE0_AD2
3 Select AFE0_AD3
4 Select AFE0_AD4
5 Select AFE0_AD5
6 Select AFE1_AD0
7 Select AFE1_AD1
SELMINUS
2:0
Selection for Minus Comparator Input
0 Select TS
1 Select VREFP
2 Select DAC0
3 Select DAC1
4 Select AFE0_AD0
5 Select AFE0_AD1
6 Select AFE0_AD2
7 Select AFE0_AD3
ACC_IERInterrupt Enable Register
Address
0x40044024
Reset
0x00000000
Access
write only
Size
32-bit
1 field
Field
Bits
What it does
CE
0
Comparison Edge
ACC_IDRInterrupt Disable Register
Address
0x40044028
Reset
0x00000000
Access
write only
Size
32-bit
1 field
Field
Bits
What it does
CE
0
Comparison Edge
ACC_IMRInterrupt Mask Register
Address
0x4004402C
Reset
0x00000000
Access
read only
Size
32-bit
1 field
Field
Bits
What it does
CE
0
Comparison Edge
ACC_ISRInterrupt Status Register
Address
0x40044030
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
0x40044094
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
HYST
2:1
Hysteresis Selection
ISEL
0
Current Selection
0 Low-power option.
1 High-speed option.
ACC_WPMRWrite Protection Mode Register
Address
0x400440E4
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
WPEN
0
Write Protection 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.