1# Copyright 2021 Google LLC 2# SPDX-License-Identifier: Apache-2.0 3 4config ADC_EMUL 5 bool "ADC emulator" 6 default y 7 depends on DT_HAS_ZEPHYR_ADC_EMUL_ENABLED 8 help 9 Enable the ADC emulator driver. This is a fake driver in that it 10 does not talk to real hardware. It pretends to be actual ADC. It 11 is used for testing higher-level API for ADC devices. 12 13if ADC_EMUL 14 15config ADC_EMUL_ACQUISITION_THREAD_STACK_SIZE 16 int "Stack size for the ADC data acquisition thread" 17 default 512 18 help 19 Size of the stack used for the internal data acquisition 20 thread. Increasing size may be required when value function for 21 emulated ADC require a lot of memory. 22 23config ADC_EMUL_ACQUISITION_THREAD_PRIO 24 int "Priority for the ADC data acquisition thread" 25 default 0 26 help 27 Priority level for the internal ADC data acquisition thread. 28 29endif # ADC_EMUL 30