1# VCNL36825T Proximity Sensor configuration options 2 3# Copyright (c) 2024 Juliane Schulze, deveritec Gmbh 4# SPDX-License-Identifier: Apache-2.0 5 6config VCNL36825T 7 bool "VCNL36825T Proximity Sensor" 8 default y 9 depends on DT_HAS_VISHAY_VCNL36825T_ENABLED 10 select I2C 11 help 12 Enable driver for VCNL36825T sensors. 13 14if VCNL36825T 15 16config VCNL36825T_TRIGGER 17 bool 18 19choice VCNL36825T_TRIGGER_CHOICE 20 prompt "trigger mode" 21 default VCNL36825T_TRIGGER_NONE 22 help 23 Specify the type of triggering to be used by the driver. 24 Note: Since figuring out which interrupt was triggered, using the Zephyr 25 standard types will deactivate the other interrupt. 26 27config VCNL36825T_TRIGGER_NONE 28 bool "no trigger" 29 30config VCNL36825T_TRIGGER_GLOBAL_THREAD 31 bool "use global thread" 32 select VCNL36825T_TRIGGER 33 34config VCNL36825T_TRIGGER_OWN_THREAD 35 bool "use own thread" 36 select VCNL36825T_TRIGGER 37 38endchoice 39 40if VCNL36825T_TRIGGER 41 42config VCNL36825T_THREAD_PRIORITY 43 int "thread priority" 44 depends on VCNL36825T_TRIGGER_OWN_THREAD 45 default 10 46 help 47 Priority of thread used by the driver to handle interrupts. 48 49config VCNL36825T_THREAD_STACK_SIZE 50 int "thread stack size" 51 depends on VCNL36825T_TRIGGER_OWN_THREAD 52 default 1024 53 help 54 Stack size of thread used by the driver to handle interrupts. 55 56endif # VCNL36825T_TRIGGER 57 58endif # VCNL36825T 59