The 22 registers of ADC (Analog Digital Converter), from 0x42003800, with their reset value and every field. The PIC32CM1216LE00032 has 1252 registers in 40 peripherals, one page each.
ADC Analog Digital Converter
CTRLAControl A
Address
0x42003800
Reset
0x00
Access
read/write
7ONDEMAND
6RUNSTDBY
5–
4–
3–
2–
1ENABLE
0SWRST
4 fields
Field
Bits
What it does
ONDEMAND
7
On Demand Control
RUNSTDBY
6
Run During Standby
ENABLE
1
Enable
SWRST
0
Software Reset
CTRLBControl B
Address
0x42003801
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2PRESCALER2
1PRESCALER1
0PRESCALER0
1 field
Field
Bits
What it does
PRESCALER
2:0
Prescaler Configuration
0 Peripheral clock divided by 2
1 Peripheral clock divided by 4
2 Peripheral clock divided by 8
3 Peripheral clock divided by 16
4 Peripheral clock divided by 32
5 Peripheral clock divided by 64
6 Peripheral clock divided by 128
7 Peripheral clock divided by 256
REFCTRLReference Control
Address
0x42003802
Reset
0x00
Access
read/write
7REFCOMP
6–
5–
4–
3REFSEL3
2REFSEL2
1REFSEL1
0REFSEL0
2 fields
Field
Bits
What it does
REFCOMP
7
Reference Buffer Offset Compensation Enable
REFSEL
3:0
Reference Selection
0 Internal Voltage Reference
1 1/1.6 AVDD
2 1/2 AVDD
3 External Voltage Reference A (shared with DAC)
4 External Voltage Reference B
5 AVDD
EVCTRLEvent Control
Address
0x42003803
Reset
0x00
Access
read/write
7–
6–
5WINMONEO
4RESRDYEO
3STARTINV
2FLUSHINV
1STARTEI
0FLUSHEI
6 fields
Field
Bits
What it does
WINMONEO
5
Window Monitor Event Out
RESRDYEO
4
Result Ready Event Out
STARTINV
3
Start Event Invert Enable
FLUSHINV
2
Flush Event Invert Enable
STARTEI
1
Start Conversion Event Input Enable
FLUSHEI
0
Flush Event Input Enable
INTENCLRInterrupt Enable Clear
Address
0x42003804
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2WINMON
1OVERRUN
0RESRDY
3 fields
Field
Bits
What it does
WINMON
2
Window Monitor Interrupt Disable
OVERRUN
1
Overrun Interrupt Disable
RESRDY
0
Result Ready Interrupt Disable
INTENSETInterrupt Enable Set
Address
0x42003805
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2WINMON
1OVERRUN
0RESRDY
3 fields
Field
Bits
What it does
WINMON
2
Window Monitor Interrupt Enable
OVERRUN
1
Overrun Interrupt Enable
RESRDY
0
Result Ready Interrupt Enable
INTFLAGInterrupt Flag Status and Clear
Address
0x42003806
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2WINMON
1OVERRUN
0RESRDY
3 fields
Field
Bits
What it does
WINMON
2
Window Monitor Interrupt Flag
OVERRUN
1
Overrun Interrupt Flag
RESRDY
0
Result Ready Interrupt Flag
SEQSTATUSSequence Status
Address
0x42003807
Reset
0x00
Access
read only
7SEQBUSY
6–
5–
4SEQSTATE4
3SEQSTATE3
2SEQSTATE2
1SEQSTATE1
0SEQSTATE0
2 fields
Field
Bits
What it does
SEQBUSY
7
Sequence Busy
SEQSTATE
4:0
Sequence State
INPUTCTRLInput Control
Address
0x42003808
Reset
0x0000
Access
read/write
Size
16-bit
2 fields
Field
Bits
What it does
MUXNEG
12:8
Negative Mux Input Selection
0 ADC AIN0 Pin
1 ADC AIN1 Pin
2 ADC AIN2 Pin
3 ADC AIN3 Pin
4 ADC AIN4 Pin
5 ADC AIN5 Pin
6 ADC AIN6 Pin
7 ADC AIN7 Pin
24 Internal Ground
MUXPOS
4:0
Positive Mux Input Selection
0 ADC AIN0 Pin
1 ADC AIN1 Pin
2 ADC AIN2 Pin
3 ADC AIN3 Pin
4 ADC AIN4 Pin
5 ADC AIN5 Pin
6 ADC AIN6 Pin
7 ADC AIN7 Pin
8 ADC AIN8 Pin
25 Internal Bandgap Voltage
26 1/4 Scaled VDDCORE Supply
27 1/4 Scaled AVDD Supply
28 DAC0 Output
29 1/4 Scaled VDD Supply
30 OPAMP0 or OPAMP1 output
31 OPAMP2 output
CTRLCControl C
Address
0x4200380A
Reset
0x0000
Access
read/write
Size
16-bit
6 fields
Field
Bits
What it does
WINMODE
10:8
Window Monitor Mode
0 No window mode (default)
1 RESULT > WINLT
2 RESULT < WINUT
3 WINLT < RESULT < WINUT
4 !(WINLT < RESULT < WINUT)
RESSEL
5:4
Conversion Result Resolution
0 12-bit result
1 Accumulation or Oversampling and Decimation modes