ATSAMC21J17AU SDADC registers

The 22 registers of SDADC (Sigma-Delta Analog Digital Converter), from 0x42004C00, with their reset value and every field. The ATSAMC21J17AU has 1372 registers in 47 peripherals, one page each.

SDADC Sigma-Delta Analog Digital Converter

CTRLAControl A

Address
0x42004C00
Reset
0x00
Access
read/write
  1. 7ONDEMAND
  2. 6RUNSTDBY
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1ENABLE
  8. 0SWRST
4 fields
FieldBitsWhat it does
ONDEMAND7On Demand Control
RUNSTDBY6Run during Standby
ENABLE1Enable
SWRST0Software Reset

REFCTRLReference Control

Address
0x42004C01
Reset
0x00
Access
read/write
  1. 7ONREFBUF
  2. 6–
  3. 5REFRANGE1
  4. 4REFRANGE0
  5. 3–
  6. 2–
  7. 1REFSEL1
  8. 0REFSEL0
3 fields
FieldBitsWhat it does
ONREFBUF7Reference Buffer
REFRANGE5:4Reference Range
REFSEL1:0Reference Selection
  • 0 Internal Bandgap Reference
  • 1 External Reference
  • 2 Internal DAC Output
  • 3 VDDANA

CTRLBControl B

Address
0x42004C02
Reset
0x2000
Access
read/write
Size
16-bit
3 fields
FieldBitsWhat it does
SKPCNT15:12Skip Sample Count
OSR10:8Over Sampling Ratio
  • 0 Over Sampling Ratio is 64
  • 1 Over Sampling Ratio is 128
  • 2 Over Sampling Ratio is 256
  • 3 Over Sampling Ratio is 512
  • 4 Over Sampling Ratio is 1024
PRESCALER7:0Prescaler 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

EVCTRLEvent Control

Address
0x42004C04
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5WINMONEO
  4. 4RESRDYEO
  5. 3STARTINV
  6. 2FLUSHINV
  7. 1STARTEI
  8. 0FLUSHEI
6 fields
FieldBitsWhat it does
WINMONEO5Window Monitor Event Out
RESRDYEO4Result Ready Event Out
STARTINV3Satrt Event Invert Enable
FLUSHINV2Flush Event Invert Enable
STARTEI1Start Conversion Event Input Enable
FLUSHEI0Flush Event Input Enable

INTENCLRInterrupt Enable Clear

Address
0x42004C05
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2WINMON
  7. 1OVERRUN
  8. 0RESRDY
3 fields
FieldBitsWhat it does
WINMON2Window Monitor Interrupt Disable
OVERRUN1Overrun Interrupt Disable
RESRDY0Result Ready Interrupt Disable

INTENSETInterrupt Enable Set

Address
0x42004C06
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2WINMON
  7. 1OVERRUN
  8. 0RESRDY
3 fields
FieldBitsWhat it does
WINMON2Window Monitor Interrupt Enable
OVERRUN1Overrun Interrupt Enable
RESRDY0Result Ready Interrupt Enable

INTFLAGInterrupt Flag Status and Clear

Address
0x42004C07
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2WINMON
  7. 1OVERRUN
  8. 0RESRDY
3 fields
FieldBitsWhat it does
WINMON2Window Monitor Interrupt Flag
OVERRUN1Overrun Interrupt Flag
RESRDY0Result Ready Interrupt Flag

SEQSTATUSSequence Status

Address
0x42004C08
Reset
0x00
Access
read only
  1. 7SEQBUSY
  2. 6–
  3. 5–
  4. 4–
  5. 3SEQSTATE3
  6. 2SEQSTATE2
  7. 1SEQSTATE1
  8. 0SEQSTATE0
2 fields
FieldBitsWhat it does
SEQBUSY7Sequence Busy
SEQSTATE3:0Sequence State

INPUTCTRLInput Control

Address
0x42004C09
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3MUXSEL3
  6. 2MUXSEL2
  7. 1MUXSEL1
  8. 0MUXSEL0
1 field
FieldBitsWhat it does
MUXSEL3:0SDADC Input Selection
  • 0 SDADC AIN0 Pin
  • 1 SDADC AIN1 Pin
  • 2 SDADC AIN2 Pin

CTRLCControl C

Address
0x42004C0A
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0FREERUN
1 field
FieldBitsWhat it does
FREERUN0Free Running Mode

WINCTRLWindow Monitor Control

Address
0x42004C0B
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2WINMODE2
  7. 1WINMODE1
  8. 0WINMODE0
1 field
FieldBitsWhat it does
WINMODE2:0Window Monitor Mode

WINLTWindow Monitor Lower Threshold

Address
0x42004C0C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
WINLT23:0Window Lower Threshold

WINUTWindow Monitor Upper Threshold

Address
0x42004C10
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
WINUT23:0Window Upper Threshold

OFFSETCORROffset Correction

Address
0x42004C14
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
OFFSETCORR23:0Offset Correction Value

GAINCORRGain Correction

Address
0x42004C18
Reset
0x0001
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
GAINCORR13:0Gain Correction Value

SHIFTCORRShift Correction

Address
0x42004C1A
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3SHIFTCORR3
  6. 2SHIFTCORR2
  7. 1SHIFTCORR1
  8. 0SHIFTCORR0
1 field
FieldBitsWhat it does
SHIFTCORR3:0Shift Correction Value

SWTRIGSoftware Trigger

Address
0x42004C1C
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1START
  8. 0FLUSH
2 fields
FieldBitsWhat it does
START1Start SDADC Conversion
FLUSH0SDADC Flush

SYNCBUSYSynchronization Busy

Address
0x42004C20
Reset
0x00000000
Access
read only
Size
32-bit
12 fields
FieldBitsWhat it does
ANACTRL11ANACTRL Synchronization Busy
SWTRIG10SWTRG Synchronization Busy
SHIFTCORR9SHIFTCORR Synchronization Busy
GAINCORR8GAINCORR Synchronization Busy
OFFSETCORR7OFFSETCTRL Synchronization Busy
WINUT6WINUT Synchronization Busy
WINLT5WINLT Synchronization Busy
WINCTRL4WINCTRL Synchronization Busy
INPUTCTRL3INPUTCTRL Synchronization Busy
CTRLC2CTRLC Synchronization Busy
ENABLE1ENABLE Synchronization Busy
SWRST0SWRST Synchronization Busy

RESULTResult

Address
0x42004C24
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
FieldBitsWhat it does
RESULT23:0Result Value
RESERVED31:24Reserved

SEQCTRLSequence Control

Address
0x42004C28
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2SEQEN2
  7. 1SEQEN1
  8. 0SEQEN0
1 field
FieldBitsWhat it does
SEQEN2:0Enable Positive Input in the Sequence

ANACTRLAnalog Control

Address
0x42004C2C
Reset
0x00
Access
read/write
  1. 7BUFTEST
  2. 6ONCHOP
  3. 5CTRSDADC5
  4. 4CTRSDADC4
  5. 3CTRSDADC3
  6. 2CTRSDADC2
  7. 1CTRSDADC1
  8. 0CTRSDADC0
3 fields
FieldBitsWhat it does
BUFTEST7BUFTEST
ONCHOP6Chopper
CTRSDADC5:0SDADC Control

DBGCTRLDebug Control

Address
0x42004C2E
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0DBGRUN
1 field
FieldBitsWhat it does
DBGRUN0Debug Run