1# Copyright (c) 2023 SILA  Embedded Solutions GmbH
2#
3# SPDX-License-Identifier: Apache-2.0
4
5menuconfig ADC_ADS114S0X
6	bool "Texas instruments ADS114S0x"
7	default y
8	depends on DT_HAS_TI_ADS114S08_ENABLED
9	select SPI
10	select ADC_CONFIGURABLE_INPUTS
11	select ADC_CONFIGURABLE_EXCITATION_CURRENT_SOURCE_PIN
12	select ADC_CONFIGURABLE_VBIAS_PIN
13	help
14	  Enable the driver implementation for the ADS114S0X family
15
16config ADC_ADS114S0X_ASYNC_THREAD_INIT_PRIO
17	int "ADC ADS114S0x async thread priority"
18	default 0
19	depends on ADC_ADS114S0X
20
21config ADC_ADS114S0X_ACQUISITION_THREAD_STACK_SIZE
22	int "Stack size for the ADC data acquisition thread"
23	default 400
24	depends on ADC_ADS114S0X
25	help
26	  Size of the stack used for the internal data acquisition
27	  thread.
28
29config ADC_ADS114S0X_GPIO
30	bool "GPIO support"
31	default n
32	depends on GPIO && ADC_ADS114S0X
33	help
34	  Enable GPIO child device support in the ADS114S0x ADC driver.
35
36	  The GPIO functionality is handled by the ADS114S0x GPIO
37	  driver.
38
39config ADC_ADS114S0X_WAIT_FOR_COMPLETION_TIMEOUT_MS
40	int "Timeout for wait for completion of a read in ms"
41	default 1000
42	depends on ADC_ADS114S0X
43	help
44	  This is the wait time in ms until a read is completed.
45