ATSAMC21J15A SDADC registers The 22 registers of SDADC (Sigma-Delta Analog Digital Converter), from 0x42004C00, with their reset value and every field. The ATSAMC21J15A has 1372 registers in 47 peripherals, one page each.
SDADC Sigma-Delta Analog Digital Converter CTRLAControl A
Address 0x42004C00
Reset 0x00
Access read/write 7 ONDEMAND 6 RUNSTDBY 5 – 4 – 3 – 2 – 1 ENABLE 0 SWRST 4 fields
Field Bits What it does ONDEMAND 7 On Demand Control RUNSTDBY 6 Run during Standby ENABLE 1 Enable SWRST 0 Software Reset
REFCTRLReference Control
Address 0x42004C01
Reset 0x00
Access read/write 7 ONREFBUF 6 – 5 REFRANGE1 4 REFRANGE0 3 – 2 – 1 REFSEL1 0 REFSEL0 3 fields
Field Bits What it does ONREFBUF 7 Reference Buffer REFRANGE 5:4 Reference Range REFSEL 1:0 Reference Selection0 Internal Bandgap Reference1 External Reference2 Internal DAC Output3 VDDANA
CTRLBControl B
Address 0x42004C02
Reset 0x2000
Access read/write
Size 16-bit 3 fields
Field Bits What it does SKPCNT 15:12 Skip Sample Count OSR 10:8 Over Sampling Ratio0 Over Sampling Ratio is 641 Over Sampling Ratio is 1282 Over Sampling Ratio is 2563 Over Sampling Ratio is 5124 Over Sampling Ratio is 1024 PRESCALER 7:0 Prescaler Configuration0 Peripheral clock divided by 21 Peripheral clock divided by 42 Peripheral clock divided by 83 Peripheral clock divided by 164 Peripheral clock divided by 325 Peripheral clock divided by 646 Peripheral clock divided by 1287 Peripheral clock divided by 256
EVCTRLEvent Control
Address 0x42004C04
Reset 0x00
Access read/write 7 – 6 – 5 WINMONEO 4 RESRDYEO 3 STARTINV 2 FLUSHINV 1 STARTEI 0 FLUSHEI 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 0x42004C05
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 WINMON 1 OVERRUN 0 RESRDY 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 0x42004C06
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 WINMON 1 OVERRUN 0 RESRDY 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 0x42004C07
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 WINMON 1 OVERRUN 0 RESRDY 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 0x42004C08
Reset 0x00
Access read only 7 SEQBUSY 6 – 5 – 4 – 3 SEQSTATE3 2 SEQSTATE2 1 SEQSTATE1 0 SEQSTATE0 2 fields
Field Bits What it does SEQBUSY 7 Sequence Busy SEQSTATE 3:0 Sequence State
INPUTCTRLInput Control
Address 0x42004C09
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 MUXSEL3 2 MUXSEL2 1 MUXSEL1 0 MUXSEL0 1 field
Field Bits What it does MUXSEL 3:0 SDADC Input Selection0 SDADC AIN0 Pin1 SDADC AIN1 Pin2 SDADC AIN2 Pin
CTRLCControl C
Address 0x42004C0A
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 FREERUN 1 field
Field Bits What it does FREERUN 0 Free Running Mode
WINCTRLWindow Monitor Control
Address 0x42004C0B
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 WINMODE2 1 WINMODE1 0 WINMODE0 1 field
Field Bits What it does WINMODE 2:0 Window Monitor Mode
WINLTWindow Monitor Lower Threshold
Address 0x42004C0C
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does WINLT 23:0 Window Lower Threshold
WINUTWindow Monitor Upper Threshold
Address 0x42004C10
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does WINUT 23:0 Window Upper Threshold
OFFSETCORROffset Correction
Address 0x42004C14
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does OFFSETCORR 23:0 Offset Correction Value
GAINCORRGain Correction
Address 0x42004C18
Reset 0x0001
Access read/write
Size 16-bit 1 field
Field Bits What it does GAINCORR 13:0 Gain Correction Value
SHIFTCORRShift Correction
Address 0x42004C1A
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 SHIFTCORR3 2 SHIFTCORR2 1 SHIFTCORR1 0 SHIFTCORR0 1 field
Field Bits What it does SHIFTCORR 3:0 Shift Correction Value
SWTRIGSoftware Trigger
Address 0x42004C1C
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 START 0 FLUSH 2 fields
Field Bits What it does START 1 Start SDADC Conversion FLUSH 0 SDADC Flush
SYNCBUSYSynchronization Busy
Address 0x42004C20
Reset 0x00000000
Access read only
Size 32-bit 12 fields
Field Bits What it does ANACTRL 11 ANACTRL Synchronization Busy SWTRIG 10 SWTRG Synchronization Busy SHIFTCORR 9 SHIFTCORR Synchronization Busy GAINCORR 8 GAINCORR Synchronization Busy OFFSETCORR 7 OFFSETCTRL Synchronization Busy WINUT 6 WINUT Synchronization Busy WINLT 5 WINLT Synchronization Busy WINCTRL 4 WINCTRL Synchronization Busy INPUTCTRL 3 INPUTCTRL Synchronization Busy CTRLC 2 CTRLC Synchronization Busy ENABLE 1 ENABLE Synchronization Busy SWRST 0 SWRST Synchronization Busy
RESULTResult
Address 0x42004C24
Reset 0x00000000
Access read only
Size 32-bit 2 fields
Field Bits What it does RESULT 23:0 Result Value RESERVED 31:24 Reserved
SEQCTRLSequence Control
Address 0x42004C28
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 SEQEN2 1 SEQEN1 0 SEQEN0 1 field
Field Bits What it does SEQEN 2:0 Enable Positive Input in the Sequence
ANACTRLAnalog Control
Address 0x42004C2C
Reset 0x00
Access read/write 7 BUFTEST 6 ONCHOP 5 CTRSDADC5 4 CTRSDADC4 3 CTRSDADC3 2 CTRSDADC2 1 CTRSDADC1 0 CTRSDADC0 3 fields
Field Bits What it does BUFTEST 7 BUFTEST ONCHOP 6 Chopper CTRSDADC 5:0 SDADC Control
DBGCTRLDebug Control
Address 0x42004C2E
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 DBGRUN 1 field
Field Bits What it does DBGRUN 0 Debug Run