1# Copyright (c) 2022 Telink Semiconductor
2# SPDX-License-Identifier: Apache-2.0
3
4config ADC_TELINK_B91
5	bool "Telink Semiconductor B91 ADC driver"
6	default y
7	depends on DT_HAS_TELINK_B91_ADC_ENABLED
8	select ADC_CONFIGURABLE_INPUTS
9	help
10	  Enables Telink B91 ADC driver.
11
12if ADC_TELINK_B91
13
14config ADC_B91_ACQUISITION_THREAD_STACK_SIZE
15	int "Stack size for the ADC data acquisition thread"
16	default 512
17	help
18	  Size of the stack used for the internal data acquisition
19	  thread.
20
21config ADC_B91_ACQUISITION_THREAD_PRIO
22	int "Priority for the ADC data acquisition thread"
23	default 0
24	help
25	  Priority level for the internal ADC data acquisition thread.
26
27endif # ADC_TELINK_B91
28