blob: 6fcd8add11e882e4c761f357579b2e715272dd4a [file] [log] [blame]
Benedikt Schmidt666520b2023-08-02 16:54:26 +02001# Copyright (c) 2023 SILA Embedded Solutions GmbH
2#
3# SPDX-License-Identifier: Apache-2.0
4
5menuconfig ADC_MAX11102_17
6 bool "Maxim Integrated MAX11102-MAX11117"
7 default y
8 depends on DT_HAS_MAXIM_MAX11102_ENABLED \
9 || DT_HAS_MAXIM_MAX11103_ENABLED \
10 || DT_HAS_MAXIM_MAX11105_ENABLED \
11 || DT_HAS_MAXIM_MAX11106_ENABLED \
12 || DT_HAS_MAXIM_MAX11110_ENABLED \
13 || DT_HAS_MAXIM_MAX11111_ENABLED \
14 || DT_HAS_MAXIM_MAX11115_ENABLED \
15 || DT_HAS_MAXIM_MAX11116_ENABLED \
16 || DT_HAS_MAXIM_MAX11117_ENABLED
17 select SPI
18 help
19 Enable the driver implementation for the MAX11102-MAX11117 family
20
21config ADC_MAX11102_17_ACQUISITION_THREAD_INIT_PRIO
22 int "ADC data acquisition thread priority"
23 default 0
24 depends on ADC_MAX11102_17 && ADC_ASYNC
25
26config ADC_MAX11102_17_ACQUISITION_THREAD_STACK_SIZE
27 int "Stack size for the ADC data acquisition thread"
28 default 400
29 depends on ADC_MAX11102_17 && ADC_ASYNC
30 help
31 Size of the stack used for the internal data acquisition
32 thread.