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	help
13	  Enable the driver implementation for the ADS114S0X family
14
15config ADC_ADS114S0X_ASYNC_THREAD_INIT_PRIO
16	int "ADC ADS114S0x async thread priority"
17	default 0
18	depends on ADC_ADS114S0X
19
20config ADC_ADS114S0X_ACQUISITION_THREAD_STACK_SIZE
21	int "Stack size for the ADC data acquisition thread"
22	default 400
23	depends on ADC_ADS114S0X
24	help
25	  Size of the stack used for the internal data acquisition
26	  thread.
27
28config ADC_ADS114S0X_GPIO
29	bool "GPIO support"
30	default n
31	depends on GPIO && ADC_ADS114S0X
32	help
33	  Enable GPIO child device support in the ADS114S0x ADC driver.
34
35	  The GPIO functionality is handled by the ADS114S0x GPIO
36	  driver.
37
38config ADC_ADS114S0X_WAIT_FOR_COMPLETION_TIMEOUT_MS
39	int "Timeout for wait for completion of a read in ms"
40	default 1000
41	depends on ADC_ADS114S0X
42	help
43	  This is the wait time in ms until a read is completed.
44