2023-02-17 03:36:21 +08:00
|
|
|
# Copyright (c) 2023 SILA Embedded Solutions GmbH
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig ADC_ADS114S0X
|
|
|
|
bool "Texas instruments ADS114S0x"
|
|
|
|
default y
|
|
|
|
depends on DT_HAS_TI_ADS114S08_ENABLED
|
|
|
|
select SPI
|
|
|
|
select ADC_CONFIGURABLE_INPUTS
|
2023-05-02 15:43:16 +08:00
|
|
|
select ADC_CONFIGURABLE_EXCITATION_CURRENT_SOURCE_PIN
|
2023-11-29 23:55:21 +08:00
|
|
|
select ADC_CONFIGURABLE_VBIAS_PIN
|
2023-02-17 03:36:21 +08:00
|
|
|
help
|
|
|
|
Enable the driver implementation for the ADS114S0X family
|
|
|
|
|
|
|
|
config ADC_ADS114S0X_ASYNC_THREAD_INIT_PRIO
|
|
|
|
int "ADC ADS114S0x async thread priority"
|
|
|
|
default 0
|
|
|
|
depends on ADC_ADS114S0X
|
|
|
|
|
|
|
|
config ADC_ADS114S0X_ACQUISITION_THREAD_STACK_SIZE
|
|
|
|
int "Stack size for the ADC data acquisition thread"
|
|
|
|
default 400
|
|
|
|
depends on ADC_ADS114S0X
|
|
|
|
help
|
|
|
|
Size of the stack used for the internal data acquisition
|
|
|
|
thread.
|
2023-05-04 22:41:14 +08:00
|
|
|
|
|
|
|
config ADC_ADS114S0X_GPIO
|
|
|
|
bool "GPIO support"
|
|
|
|
default n
|
|
|
|
depends on GPIO && ADC_ADS114S0X
|
|
|
|
help
|
|
|
|
Enable GPIO child device support in the ADS114S0x ADC driver.
|
|
|
|
|
|
|
|
The GPIO functionality is handled by the ADS114S0x GPIO
|
|
|
|
driver.
|
2023-05-04 23:20:37 +08:00
|
|
|
|
|
|
|
config ADC_ADS114S0X_WAIT_FOR_COMPLETION_TIMEOUT_MS
|
|
|
|
int "Timeout for wait for completion of a read in ms"
|
|
|
|
default 1000
|
|
|
|
depends on ADC_ADS114S0X
|
|
|
|
help
|
|
|
|
This is the wait time in ms until a read is completed.
|