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 depends on SPI 9 help 10 Enable MCP3204/MCP3208 ADC driver. 11 12 The MCP3204/MCP3208 are 4/8 channel 12-bit A/D converters 13 with SPI interface. 14 15if ADC_MCP320X 16 17config ADC_MCP320X_INIT_PRIORITY 18 int "Init priority" 19 default 80 20 help 21 MCP320x ADC device driver initialization priority. 22 23config ADC_MCP320X_ACQUISITION_THREAD_STACK_SIZE 24 int "Stack size for the ADC data acquisition thread" 25 default 512 26 help 27 Size of the stack used for the internal data acquisition 28 thread. 29 30config ADC_MCP320X_ACQUISITION_THREAD_PRIO 31 int "Priority for the ADC data acquisition thread" 32 default 0 33 help 34 Priority level for the internal ADC data acquisition thread. 35 36endif # ADC_MCP320X 37