forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: adc: add driver for ADS114S08
Implement a driver for the ADC ADS114S08 Signed-off-by: Benedikt Schmidt <[email protected]>
- Loading branch information
1 parent
6c191c2
commit 6d6f6eb
Showing
4 changed files
with
1,053 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
Oops, something went wrong.