2023-10-31 03:38:59 +08:00
|
|
|
# Copyright (c) 2023 Grinn
|
2024-05-08 15:59:43 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2023-10-31 03:38:59 +08:00
|
|
|
|
2024-01-24 16:05:09 +08:00
|
|
|
config ADC_AD559X
|
|
|
|
bool "AD559x ADC driver"
|
2023-10-31 03:38:59 +08:00
|
|
|
default y
|
2024-01-24 16:05:09 +08:00
|
|
|
depends on DT_HAS_ADI_AD559X_ADC_ENABLED
|
2023-10-31 03:38:59 +08:00
|
|
|
select MFD
|
|
|
|
help
|
2024-01-24 16:05:09 +08:00
|
|
|
Enable the AD559x ADC driver.
|
2023-10-31 03:38:59 +08:00
|
|
|
|
2024-01-24 16:05:09 +08:00
|
|
|
config ADC_AD559X_ACQUISITION_THREAD_STACK_SIZE
|
2023-10-31 03:38:59 +08:00
|
|
|
int "Stack size for the ADC data acquisition thread"
|
2024-01-24 16:05:09 +08:00
|
|
|
depends on ADC_AD559X
|
2023-10-31 03:38:59 +08:00
|
|
|
default 384
|
|
|
|
help
|
|
|
|
Size of the stack used for the internal data acquisition
|
|
|
|
thread.
|
|
|
|
|
2024-01-24 16:05:09 +08:00
|
|
|
config ADC_AD559X_ACQUISITION_THREAD_PRIO
|
2023-10-31 03:38:59 +08:00
|
|
|
int "Priority for the ADC data acquisition thread"
|
2024-01-24 16:05:09 +08:00
|
|
|
depends on ADC_AD559X
|
2023-10-31 03:38:59 +08:00
|
|
|
default 0
|
|
|
|
help
|
|
|
|
Priority level for the internal ADC data acquisition thread.
|