1# Copyright (c) 2023 Caspar Friedrich <c.s.w.friedrich@gmail.com> 2# SPDX-License-Identifier: Apache-2.0 3 4config ADC_TLA2021 5 bool "Texas Instruments TLA2021 Low-Power ADC" 6 default y 7 depends on DT_HAS_TI_TLA2021_ENABLED 8 select I2C 9 help 10 TLA202x Cost-Optimized, Ultra-Small, 12-Bit, System-Monitoring ADCs 11 12if ADC_TLA2021 13 14config ADC_TLA2021_INIT_PRIORITY 15 int "Priority for the driver initialization" 16 default 80 17 help 18 Fine tune the priority for the driver initialization. Make sure it's 19 higher (-> lower priority) than I2C_INIT_PRIORITY. 20 21config ADC_TLA2021_ACQUISITION_THREAD_PRIORITY 22 int "Priority for the data acquisition thread" 23 default 0 24 help 25 Execution priority for the internal data acquisition thread. 26 27config ADC_TLA2021_ACQUISITION_THREAD_STACK_SIZE 28 int "Stack size for the data acquisition thread" 29 default 512 30 help 31 Stack size for the internal data acquisition thread. Requires room 32 for I2C operations. 33 34endif # ADC_TLA2021 35