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