The 22 registers of ADC (Analog Digital Converter), from 0x42003000, with their reset value and every field. The ATSAML22N17A has 1261 registers in 40 peripherals, one page each.
ADC Analog Digital Converter
CTRLAControl A
Address
0x42003000
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
0x42003001
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
0x42003002
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 Bandgap Reference
1 1/1.6 VDDANA
2 1/2 VDDANA
3 External Reference
4 External Reference
5 VCCANA
EVCTRLEvent Control
Address
0x42003003
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
Satrt 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
0x42003004
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
0x42003005
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
0x42003006
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
0x42003007
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
0x42003008
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
9 ADC AIN9 Pin
10 ADC AIN10 Pin
11 ADC AIN11 Pin
12 ADC AIN12 Pin
13 ADC AIN13 Pin
14 ADC AIN14 Pin
15 ADC AIN15 Pin
16 ADC AIN16 Pin
17 ADC AIN17 Pin
18 ADC AIN18 Pin
19 ADC AIN19 Pin
25 Bandgap Voltage
26 1/4 Scaled Core Supply
27 1/4 Scaled I/O Supply
29 1/4 Scaled VBAT Supply
CTRLCControl C
Address
0x4200300A
Reset
0x0000
Access
read/write
Size
16-bit
8 fields
Field
Bits
What it does
DUALSEL
13:12
Dual Mode Trigger Selection
0 Start event or software trigger will start a conversion on both ADCs
1 START event or software trigger will alternatingly start a conversion on ADC0 and ADC1