1# Copyright (c) 2025 Würth Elektronik eiSos GmbH & Co. KG 2# SPDX-License-Identifier: Apache-2.0 3 4menuconfig WSEN_TIDS_2521020222501 5 bool "WSEN-TIDS-2521020222501 temperature sensor" 6 default y 7 depends on DT_HAS_WE_WSEN_TIDS_2521020222501_ENABLED 8 select I2C 9 select HAS_WESENSORS 10 help 11 Enable driver for the WSEN-TIDS-2521020222501 I2C-based temperature sensor. 12 13if WSEN_TIDS_2521020222501 14 15choice WSEN_TIDS_2521020222501_TRIGGER_MODE 16 prompt "Trigger mode" 17 default WSEN_TIDS_2521020222501_TRIGGER_NONE 18 help 19 Specify the type of triggering to be used by the driver. 20 21config WSEN_TIDS_2521020222501_TRIGGER_NONE 22 bool "No trigger" 23 24config WSEN_TIDS_2521020222501_TRIGGER_GLOBAL_THREAD 25 bool "Use global thread" 26 depends on GPIO 27 select WSEN_TIDS_2521020222501_TRIGGER 28 29config WSEN_TIDS_2521020222501_TRIGGER_OWN_THREAD 30 bool "Use own thread" 31 depends on GPIO 32 select WSEN_TIDS_2521020222501_TRIGGER 33 34endchoice # WSEN_TIDS_2521020222501_TRIGGER_MODE 35 36config WSEN_TIDS_2521020222501_TRIGGER 37 bool 38 39config WSEN_TIDS_2521020222501_THREAD_PRIORITY 40 int "Thread priority" 41 depends on WSEN_TIDS_2521020222501_TRIGGER_OWN_THREAD 42 default 10 43 help 44 Priority of thread used by the driver to handle interrupts. 45 46config WSEN_TIDS_2521020222501_THREAD_STACK_SIZE 47 int "Thread stack size" 48 depends on WSEN_TIDS_2521020222501_TRIGGER_OWN_THREAD 49 default 1024 50 help 51 Stack size of thread used by the driver to handle interrupts. 52 53endif # WSEN_TIDS_2521020222501 54