drivers: adc: add driver for ADS114S08
Implement a driver for the ADC ADS114S08 Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
parent
6c191c2b47
commit
6d6f6eb3ee
4 changed files with 1053 additions and 0 deletions
|
@ -29,6 +29,7 @@ zephyr_library_sources_ifdef(CONFIG_ADC_ADS1X1X adc_ads1x1x.c)
|
|||
zephyr_library_sources_ifdef(CONFIG_ADC_GD32 adc_gd32.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_ADC_ADS1119 adc_ads1119.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_ADC_ADS7052 adc_ads7052.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_ADC_ADS114S0X adc_ads114s0x.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_ADC_RPI_PICO adc_rpi_pico.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_ADC_XMC4XXX adc_xmc4xxx.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_ADC_ESP32 adc_esp32.c)
|
||||
|
|
|
@ -86,6 +86,8 @@ source "drivers/adc/Kconfig.ads1119"
|
|||
|
||||
source "drivers/adc/Kconfig.ads7052"
|
||||
|
||||
source "drivers/adc/Kconfig.ads114s0x"
|
||||
|
||||
source "drivers/adc/Kconfig.rpi_pico"
|
||||
|
||||
source "drivers/adc/Kconfig.xmc4xxx"
|
||||
|
|
25
drivers/adc/Kconfig.ads114s0x
Normal file
25
drivers/adc/Kconfig.ads114s0x
Normal file
|
@ -0,0 +1,25 @@
|
|||
# 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
|
||||
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.
|
1025
drivers/adc/adc_ads114s0x.c
Normal file
1025
drivers/adc/adc_ads114s0x.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue