# Copyright (c) 2025 Würth Elektronik eiSos GmbH & Co. KG
# SPDX-License-Identifier: Apache-2.0

menuconfig WSEN_TIDS_2521020222501
	bool "WSEN-TIDS-2521020222501 temperature sensor"
	default y
	depends on DT_HAS_WE_WSEN_TIDS_2521020222501_ENABLED
	select I2C
	select HAS_WESENSORS
	help
	  Enable driver for the WSEN-TIDS-2521020222501 I2C-based temperature sensor.

if WSEN_TIDS_2521020222501

choice WSEN_TIDS_2521020222501_TRIGGER_MODE
	prompt "Trigger mode"
	default WSEN_TIDS_2521020222501_TRIGGER_NONE
	help
	  Specify the type of triggering to be used by the driver.

config WSEN_TIDS_2521020222501_TRIGGER_NONE
	bool "No trigger"

config WSEN_TIDS_2521020222501_TRIGGER_GLOBAL_THREAD
	bool "Use global thread"
	depends on GPIO
	select WSEN_TIDS_2521020222501_TRIGGER

config WSEN_TIDS_2521020222501_TRIGGER_OWN_THREAD
	bool "Use own thread"
	depends on GPIO
	select WSEN_TIDS_2521020222501_TRIGGER

endchoice # WSEN_TIDS_2521020222501_TRIGGER_MODE

config WSEN_TIDS_2521020222501_TRIGGER
	bool

config WSEN_TIDS_2521020222501_THREAD_PRIORITY
	int "Thread priority"
	depends on WSEN_TIDS_2521020222501_TRIGGER_OWN_THREAD
	default 10
	help
	  Priority of thread used by the driver to handle interrupts.

config WSEN_TIDS_2521020222501_THREAD_STACK_SIZE
	int "Thread stack size"
	depends on WSEN_TIDS_2521020222501_TRIGGER_OWN_THREAD
	default 1024
	help
	  Stack size of thread used by the driver to handle interrupts.

endif # WSEN_TIDS_2521020222501
