### SENSOR_SAR_CFG

Bit Field | Read/Write | Field Name | Description
--- | --- | --- | ---
22:20 | RW | SAR_PRE_SEL_ODD | Pre-selection of odd GPIOs
18:16 | RW | SAR_PRE_SEL_EVEN | Pre-selection of even GPIOs
14:12 | RW | SAR_IN_P | Defines the positive input signal
10:8 | RW | SAR_IN_N | Defines the negative input signal
3 | RW | SAR_DATA_OUT_RX_DMA_EN | Enable / disable the DMA trigger when SAR data available
2 | RW | SAR_DATA_OUT_UPDATE | Enable / disable the SAR data update
1 | RW | SAR_SUPPLY_EN | Enable / disable the SAR supply
0 | RW | SAR_SUPPLY_SELECT | SAR supply selection

Bit Field | Field Name | Value Symbol | Value Description | Hex Value
--- | --- | --- | --- | ---
22:20 | SAR_PRE_SEL_ODD | SAR_PRE_SEL_GPIO_1 | Select GPIO[1] for "pre_sel_odd" | 0x0*
|  | SAR_PRE_SEL_GPIO_3 | Select GPIO[3] for "pre_sel_odd" | 0x1
|  | SAR_PRE_SEL_GPIO_5 | Select GPIO[5] for "pre_sel_odd" | 0x2
|  | SAR_PRE_SEL_GPIO_7 | Select GPIO[7] for "pre_sel_odd" | 0x3
|  | SAR_PRE_SEL_GPIO_9 | Select GPIO[9] for "pre_sel_odd" | 0x4
|  | SAR_PRE_SEL_GPIO_11 | Select GPIO[11] for "pre_sel_odd" | 0x5
|  | SAR_PRE_SEL_GPIO_13 | Select GPIO[13] for "pre_sel_odd" | 0x6
|  | SAR_PRE_SEL_GPIO_15 | Select GPIO[15] for "pre_sel_odd" | 0x7
18:16 | SAR_PRE_SEL_EVEN | SAR_PRE_SEL_GPIO_0 | Select GPIO[0] for "pre_sel_even" | 0x0*
|  | SAR_PRE_SEL_GPIO_2 | Select GPIO[2] for "pre_sel_even" | 0x1
|  | SAR_PRE_SEL_GPIO_4 | Select GPIO[4] for "pre_sel_even" | 0x2
|  | SAR_PRE_SEL_GPIO_6 | Select GPIO[6] for "pre_sel_even" | 0x3
|  | SAR_PRE_SEL_GPIO_8 | Select GPIO[8] for "pre_sel_even" | 0x4
|  | SAR_PRE_SEL_GPIO_10 | Select GPIO[10] for "pre_sel_even" | 0x5
|  | SAR_PRE_SEL_GPIO_12 | Select GPIO[12] for "pre_sel_even" | 0x6
|  | SAR_PRE_SEL_GPIO_14 | Select GPIO[14] for "pre_sel_even" | 0x7
14:12 | SAR_IN_P | SAR_IN_P_SRC_PRE_SEL_EVEN | Select "pre_sel_even" as source | 0x0
|  | SAR_IN_P_SRC_PRE_SEL_ODD | Select "pre_sel_odd" as source | 0x1
|  | SAR_IN_P_SRC_SDAC | Select SDAC as source | 0x2
|  | SAR_IN_P_SRC_SAR_SUPPLY | Select SAR-ADC supply as source | 0x3
|  | SAR_IN_P_SRC_SAR_SUPPLY_DIV2 | Select SAR-ADC supply divided by 2 as source | 0x4*
10:8 | SAR_IN_N | SAR_IN_N_SRC_PRE_SEL_EVEN | Select "pre_sel_even" as source | 0x0
|  | SAR_IN_N_SRC_PRE_SEL_ODD | Select "pre_sel_odd" as source | 0x1
|  | SAR_IN_N_SRC_SDAC | Select SDAC as source | 0x2
|  | SAR_IN_N_SRC_VSSA | Select VSSA as source | 0x3
|  | SAR_IN_N_SRC_SAR_SUPPLY_DIV2 | Select SAR-ADC supply divided by 2 as source | 0x4*
3 | SAR_DATA_OUT_RX_DMA_EN | SAR_DATA_OUT_RX_DMA_DISABLED | No RX DMA triggered | 0x0*
|  | SAR_DATA_OUT_RX_DMA_ENABLED | RX DMA triggered when SAR data available | 0x1
2 | SAR_DATA_OUT_UPDATE | SAR_DATA_OUT_UPDATE_AUTO | The SAR data buffer updated at the end of a conversion | 0x0*
|  | SAR_DATA_OUT_UPDATE_ENABLE | The SAR data buffer updated at each clock cycle | 0x1
1 | SAR_SUPPLY_EN | SAR_SUPPLY_AUTO | The SAR supply is in auto mode | 0x0*
|  | SAR_SUPPLY_ENABLE | The SAR supply is enabled. | 0x1
0 | SAR_SUPPLY_SELECT | SAR_SUPPLY_BY_VBAT | SAR ADC supplied by VBAT | 0x0*
|  | SAR_SUPPLY_BY_GPIO9 | SAR ADC supplied by GPIO9 | 0x1