\n
address_offset : 0x0 Bytes (0x0)
size : 0x1000 byte (0x0)
mem_usage : registers
protection :
Control Register 0.
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADC_EN : ADC Enable.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
0 : dis
Disable ADC.
1 : en
enable ADC.
End of enumeration elements list.
BIAS_EN : Bias Enable.
bits : 1 - 2 (2 bit)
access : read-write
Enumeration:
0 : dis
Disable Bias.
1 : en
Enable Bias.
End of enumeration elements list.
SKIP_CAL : Skip Calibration Enable.
bits : 2 - 4 (3 bit)
access : read-write
Enumeration:
0 : no_skip
Do not skip calibration.
1 : skip
Skip calibration.
End of enumeration elements list.
CHOP_FORCE : Chop Force Control.
bits : 3 - 6 (4 bit)
access : read-write
Enumeration:
0 : dis
Do not force chop mode.
1 : en
Force chop Mode.
End of enumeration elements list.
RESETB : Reset ADC.
bits : 4 - 8 (5 bit)
access : read-write
Enumeration:
0 : reset
reset ADC.
1 : activate
activate ADC.
End of enumeration elements list.
Channel Select Register 0.
address_offset : 0x10 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
slot0_id : channel assignment for slot 0.
bits : 0 - 4 (5 bit)
access : read-write
slot1_id : channel assignment for slot 1.
bits : 8 - 20 (13 bit)
access : read-write
slot2_id : channel assignment for slot 2.
bits : 16 - 36 (21 bit)
access : read-write
slot3_id : channel assignment for slot 3.
bits : 24 - 52 (29 bit)
access : read-write
Channel Select Register 1.
address_offset : 0x14 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
slot4_id : channel assignment for slot 4.
bits : 0 - 4 (5 bit)
access : read-write
slot5_id : channel assignment for slot 5.
bits : 8 - 20 (13 bit)
access : read-write
slot6_id : channel assignment for slot 6.
bits : 16 - 36 (21 bit)
access : read-write
slot7_id : channel assignment for slot 7.
bits : 24 - 52 (29 bit)
access : read-write
Channel Select Register 2.
address_offset : 0x18 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
slot8_id : channel assignment for slot 8.
bits : 0 - 4 (5 bit)
access : read-write
slot9_id : channel assignment for slot 9.
bits : 8 - 20 (13 bit)
access : read-write
slot10_id : channel assignment for slot 10.
bits : 16 - 36 (21 bit)
access : read-write
slot11_id : channel assignment for slot 11.
bits : 24 - 52 (29 bit)
access : read-write
Channel Select Register 3.
address_offset : 0x1C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
slot12_id : channel assignment for slot 12.
bits : 0 - 4 (5 bit)
access : read-write
slot13_id : channel assignment for slot 13.
bits : 8 - 20 (13 bit)
access : read-write
slot14_id : channel assignment for slot 14.
bits : 16 - 36 (21 bit)
access : read-write
slot15_id : channel assignment for slot 15.
bits : 24 - 52 (29 bit)
access : read-write
Channel Select Register 4.
address_offset : 0x20 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
slot16_id : channel assignment for slot 16.
bits : 0 - 4 (5 bit)
access : read-write
slot17_id : channel assignment for slot 17.
bits : 8 - 20 (13 bit)
access : read-write
slot18_id : channel assignment for slot 18.
bits : 16 - 36 (21 bit)
access : read-write
slot19_id : channel assignment for slot 19.
bits : 24 - 52 (29 bit)
access : read-write
Channel Select Register 5.
address_offset : 0x24 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
slot20_id : channel assignment for slot 20.
bits : 0 - 4 (5 bit)
access : read-write
slot21_id : channel assignment for slot 21.
bits : 8 - 20 (13 bit)
access : read-write
slot22_id : channel assignment for slot 22.
bits : 16 - 36 (21 bit)
access : read-write
slot23_id : channel assignment for slot 23.
bits : 24 - 52 (29 bit)
access : read-write
Channel Select Register 6.
address_offset : 0x28 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
slot24_id : channel assignment for slot 24.
bits : 0 - 4 (5 bit)
access : read-write
slot25_id : channel assignment for slot 25.
bits : 8 - 20 (13 bit)
access : read-write
slot26_id : channel assignment for slot 26.
bits : 16 - 36 (21 bit)
access : read-write
slot27_id : channel assignment for slot 27.
bits : 24 - 52 (29 bit)
access : read-write
Channel Select Register 7.
address_offset : 0x2C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
slot28_id : channel assignment for slot 28.
bits : 0 - 4 (5 bit)
access : read-write
slot29_id : channel assignment for slot 29.
bits : 8 - 20 (13 bit)
access : read-write
slot30_id : channel assignment for slot 30.
bits : 16 - 36 (21 bit)
access : read-write
slot31_id : channel assignment for slot 31.
bits : 24 - 52 (29 bit)
access : read-write
Restart Count Control Register
address_offset : 0x30 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CNT : Number of sample periods to skip before restarting a continuous mode sequence
bits : 0 - 15 (16 bit)
access : read-write
Channel Data Format Register
address_offset : 0x3C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
MODE : Data format control
bits : 0 - 31 (32 bit)
access : read-write
Control Register 1.
address_offset : 0x4 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
START : Start conversion control.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
0 : stop
Stop conversions.
1 : start
Start conversions.
End of enumeration elements list.
TRIG_MODE : Trigger mode control.
bits : 1 - 2 (2 bit)
access : read-write
Enumeration:
0 : software
software trigger mode.
1 : hardware
hardware trigger mode.
End of enumeration elements list.
CNV_MODE : Conversion mode control.
bits : 2 - 4 (3 bit)
access : read-write
Enumeration:
0 : atomic
Do one conversion sequence.
1 : continuous
Do continuous conversion sequences.
End of enumeration elements list.
SAMP_CK_OFF : Sample clock off control.
bits : 3 - 6 (4 bit)
access : read-write
Enumeration:
0 : always
Sample clock always generated.
1 : cnv_only
Sample clock generated only when converting.
End of enumeration elements list.
TRIG_SEL : Hardware trigger source select.
bits : 4 - 10 (7 bit)
access : read-write
TS_SEL : Temp sensor select.
bits : 7 - 14 (8 bit)
access : read-write
Enumeration:
0 : dis
Temp sensor is not one of the slots in the sequence.
1 : en
Temp sensor is one of the slots in the sequence.
End of enumeration elements list.
AVG : Number of samples to average for each output data code.
bits : 8 - 18 (11 bit)
access : read-write
Enumeration:
0 : avg1
1 Sample per output code.
1 : avg2
2 Samples per output code.
2 : avg4
4 Samples per output code.
3 : avg8
8 Samples per output code.
4 : avg16
16 Samples per output code.
5 : avg32
32 Samples per output code.
End of enumeration elements list.
NUM_SLOTS : Number of slots enabled for the conversion sequence
bits : 16 - 36 (21 bit)
access : read-write
FIFO and DMA control
address_offset : 0x40 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DMA_EN : DMA Enable.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
0 : dis
Disable DMA.
1 : en
Enable DMA.
End of enumeration elements list.
FLUSH : FIFO Flush.
bits : 1 - 2 (2 bit)
access : read-write
Enumeration:
0 : normal
Normal FIFO operation.
1 : flush
Flush FIFO.
End of enumeration elements list.
DATA_FORMAT : DATA format control.
bits : 2 - 5 (4 bit)
access : read-write
Enumeration:
0 : data_status
Data and Status in FIFO.
1 : data_only
Only Data in FIFO.
2 : raw_data_only
Only Raw Data in FIFO.
End of enumeration elements list.
THRESH : FIFO Threshold. These bits define the FIFO interrupt threshold.
bits : 8 - 23 (16 bit)
access : read-write
Data Register (FIFO).
address_offset : 0x44 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DATA : Conversion data.
bits : 0 - 15 (16 bit)
access : read-only
CHAN : Channel for the data.
bits : 16 - 36 (21 bit)
access : read-only
INVALID : Invalid status for the data.
bits : 24 - 48 (25 bit)
access : read-only
CLIPPED : Clipped status for the data.
bits : 31 - 62 (32 bit)
access : read-only
Status Register
address_offset : 0x48 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
READY : Indication that the ADC is in ON power state
bits : 0 - 0 (1 bit)
access : read-only
EMPTY : FIFO Empty
bits : 1 - 2 (2 bit)
access : read-only
FULL : FIFO full
bits : 2 - 4 (3 bit)
access : read-only
FIFO_LEVEL : Number of entries in FIFO available to read
bits : 8 - 23 (16 bit)
access : read-only
Channel Status
address_offset : 0x4C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CLIPPED :
bits : 0 - 31 (32 bit)
access : read-write
Interrupt Enable Register.
address_offset : 0x50 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
READY : ADC is ready.
bits : 0 - 0 (1 bit)
access : read-write
ABORT : Conversion start is aborted.
bits : 2 - 4 (3 bit)
access : read-write
START_DET : Conversion start is detected.
bits : 3 - 6 (4 bit)
access : read-write
SEQ_STARTED :
bits : 4 - 8 (5 bit)
access : read-write
SEQ_DONE :
bits : 5 - 10 (6 bit)
access : read-write
CONV_DONE :
bits : 6 - 12 (7 bit)
access : read-write
CLIPPED :
bits : 7 - 14 (8 bit)
access : read-write
FIFO_LVL :
bits : 8 - 16 (9 bit)
access : read-write
FIFO_UFL :
bits : 9 - 18 (10 bit)
access : read-write
FIFO_OFL :
bits : 10 - 20 (11 bit)
access : read-write
Interrupt Flags Register.
address_offset : 0x54 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
READY : ADC is ready.
bits : 0 - 0 (1 bit)
access : read-write
ABORT : Conversion start is aborted.
bits : 2 - 4 (3 bit)
access : read-write
START_DET : Conversion start is detected.
bits : 3 - 6 (4 bit)
access : read-write
SEQ_STARTED :
bits : 4 - 8 (5 bit)
access : read-write
SEQ_DONE :
bits : 5 - 10 (6 bit)
access : read-write
CONV_DONE :
bits : 6 - 12 (7 bit)
access : read-write
CLIPPED :
bits : 7 - 14 (8 bit)
access : read-write
FIFO_LVL :
bits : 8 - 16 (9 bit)
access : read-write
FIFO_UFL :
bits : 9 - 18 (10 bit)
access : read-write
FIFO_OFL :
bits : 10 - 20 (11 bit)
access : read-write
SFR Address Offset Register
address_offset : 0x60 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
OFFSET : Address Offset for SAR Digital
bits : 0 - 7 (8 bit)
access : read-write
SFR Address Register
address_offset : 0x64 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ADDR : Address to SAR Digital
bits : 0 - 7 (8 bit)
access : read-write
SFR Write Data Register
address_offset : 0x68 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DATA : DATA to SAR Digital
bits : 0 - 7 (8 bit)
access : read-write
SFR Read Data Register
address_offset : 0x6C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DATA : DATA from SAR Digital
bits : 0 - 7 (8 bit)
access : read-only
SFR Status Register
address_offset : 0x70 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
NACK : NACK status for SAR Digital SFR communication
bits : 0 - 0 (1 bit)
access : read-only
Clock Control Register.
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CLKSEL : Clock source select.
bits : 0 - 1 (2 bit)
access : read-write
Enumeration:
0 : HCLK
Select HCLK.
1 : CLK_ADC0
Select CLK_ADC0.
2 : CLK_ADC1
Select CLK_ADC1.
3 : CLK_ADC2
Select CLK_ADC2.
End of enumeration elements list.
CLKDIV : Clock divider control.
bits : 4 - 10 (7 bit)
access : read-write
Enumeration:
0 : DIV2
Divide by 2.
1 : DIV4
Divide by 4.
2 : DIV8
Divide by 8.
3 : DIV16
Divide by 16.
4 : DIV1
Divide by 1.
End of enumeration elements list.
Sample Clock Control Register.
address_offset : 0xC Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
TRACK_CNT : Number of cycles for SAMPLE_CLK high time.
bits : 0 - 7 (8 bit)
access : read-write
IDLE_CNT : Number of cycles for SAMPLE_CLK low time.
bits : 16 - 47 (32 bit)
access : read-write
Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !
This website is sponsored by Embeetle, an IDE designed from scratch for embedded software developers.