1# MCP320x ADC configuration options
2
3# Copyright (c) 2020 Vestas Wind Systems A/S
4# SPDX-License-Identifier: Apache-2.0
5
6config ADC_MCP320X
7	bool "MCP3204/MCP3208 driver"
8	default y
9	depends on DT_HAS_MICROCHIP_MCP3204_ENABLED || DT_HAS_MICROCHIP_MCP3208_ENABLED
10	select SPI
11	help
12	  Enable MCP3204/MCP3208 ADC driver.
13
14	  The MCP3204/MCP3208 are 4/8 channel 12-bit A/D converters
15	  with SPI interface.
16
17if ADC_MCP320X
18
19config ADC_MCP320X_ACQUISITION_THREAD_STACK_SIZE
20	int "Stack size for the ADC data acquisition thread"
21	default 512
22	help
23	  Size of the stack used for the internal data acquisition
24	  thread.
25
26config ADC_MCP320X_ACQUISITION_THREAD_PRIO
27	int "Priority for the ADC data acquisition thread"
28	default 0
29	help
30	  Priority level for the internal ADC data acquisition thread.
31
32endif # ADC_MCP320X
33