### ACS_ACOMP_CFG

Bit Field | Read/Write | Field Name | Description
--- | --- | --- | ---
22:20 | RW | ACOMP_PRE_SEL_ODD | Pre selection of odd GPIOs
18:16 | RW | ACOMP_PRE_SEL_EVEN | Pre selection of even GPIOs
14:12 | RW | ACOMP_IN_P | Defines the positive input signal
10:8 | RW | ACOMP_IN_N | Defines the negative input signal
6:4 | RW | ACOMP_HYST | Hysteresis level
2:1 | RW | MODE | Power mode selection
0 | RW | ENABLE | Enable signal

Bit Field | Field Name | Value Symbol | Value Description | Hex Value
--- | --- | --- | --- | ---
22:20 | ACOMP_PRE_SEL_ODD | ACOMP_PRE_SEL_GPIO_1 | Select GPIO[1] for "pre_sel_odd" | 0x0*
|  | ACOMP_PRE_SEL_GPIO_3 | Select GPIO[3] for "pre_sel_odd" | 0x1
|  | ACOMP_PRE_SEL_GPIO_5 | Select GPIO[5] for "pre_sel_odd" | 0x2
|  | ACOMP_PRE_SEL_GPIO_7 | Select GPIO[7] for "pre_sel_odd" | 0x3
|  | ACOMP_PRE_SEL_GPIO_9 | Select GPIO[9] for "pre_sel_odd" | 0x4
|  | ACOMP_PRE_SEL_GPIO_11 | Select GPIO[11] for "pre_sel_odd" | 0x5
|  | ACOMP_PRE_SEL_GPIO_13 | Select GPIO[13] for "pre_sel_odd" | 0x6
|  | ACOMP_PRE_SEL_GPIO_15 | Select GPIO[15] for "pre_sel_odd" | 0x7
18:16 | ACOMP_PRE_SEL_EVEN | ACOMP_PRE_SEL_GPIO_0 | Select GPIO[0] for "pre_sel_even" | 0x0*
|  | ACOMP_PRE_SEL_GPIO_2 | Select GPIO[2] for "pre_sel_even" | 0x1
|  | ACOMP_PRE_SEL_GPIO_4 | Select GPIO[4] for "pre_sel_even" | 0x2
|  | ACOMP_PRE_SEL_GPIO_6 | Select GPIO[6] for "pre_sel_even" | 0x3
|  | ACOMP_PRE_SEL_GPIO_8 | Select GPIO[8] for "pre_sel_even" | 0x4
|  | ACOMP_PRE_SEL_GPIO_10 | Select GPIO[10] for "pre_sel_even" | 0x5
|  | ACOMP_PRE_SEL_GPIO_12 | Select GPIO[12] for "pre_sel_even" | 0x6
|  | ACOMP_PRE_SEL_GPIO_14 | Select GPIO[14] for "pre_sel_even" | 0x7
14:12 | ACOMP_IN_P | ACOMP_IN_P_SRC_PRE_SEL_EVEN | Select "pre_sel_even" as source | 0x0
|  | ACOMP_IN_P_SRC_PRE_SEL_ODD | Select "pre_sel_odd" as source | 0x1
|  | ACOMP_IN_P_SRC_VSSA | Select VSSA as source | 0x2*
|  | ACOMP_IN_P_SRC_WEDAC | Select WEDAC as source | 0x3
|  | ACOMP_IN_P_SRC_PMU_VREF | Select PMU Vref as source | 0x4
|  | ACOMP_IN_P_SRC_VBAT | Select VBAT as source | 0x5
|  | ACOMP_IN_P_SRC_NOT_CONNECTED | Not connect the source | 0x6
10:8 | ACOMP_IN_N | ACOMP_IN_N_SRC_PRE_SEL_EVEN | Select "pre_sel_even" as source | 0x0
|  | ACOMP_IN_N_SRC_PRE_SEL_ODD | Select "pre_sel_odd" as source | 0x1
|  | ACOMP_IN_N_SRC_VSSA | Select VSSA as source | 0x2*
|  | ACOMP_IN_N_SRC_WEDAC | Select WEDAC as source | 0x3
|  | ACOMP_IN_N_SRC_PMU_VREF | Select PMU Vref as source | 0x4
|  | ACOMP_IN_N_SRC_VBAT | Select VBAT as source | 0x5
|  | ACOMP_IN_N_SRC_NOT_CONNECTED | Not connect the source | 0x6
6:4 | ACOMP_HYST | HYST_0 | No hysteresis | 0x0*
|  | HYST_10MV | 10 mV hysteresis | 0x1
|  | HYST_20MV | 20 mV hysteresis | 0x2
|  | HYST_30MV | 30 mV hysteresis | 0x3
|  | HYST_40MV | 40 mV hysteresis | 0x4
|  | HYST_50MV | 50 mV hysteresis | 0x5
|  | HYST_60MV | 60 mV hysteresis | 0x6
|  | HYST_70MV | 70 mV hysteresis | 0x7
2:1 | MODE | ACOMP_LOW_POWER_MODE | Low power mode | 0x0
|  | ACOMP_NORMAL_MODE | Normal mode | 0x1*
|  | ACOMP_HIGH_SPEED_MODE | High Speed mode | 0x2
0 | ENABLE | ACOMP_DIS | ACOMP disabled | 0x0*
|  | ACOMP_EN | ACOMP enabled | 0x1