1# TMP007 infrared thermopile sensor configuration options 2 3# Copyright (c) 2016 Intel Corporation 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig TMP007 7 bool "TMP007 Infrared Thermopile Sensor" 8 default y 9 depends on DT_HAS_TI_TMP007_ENABLED 10 select I2C 11 help 12 Enable driver for TMP007 infrared thermopile sensors. 13 14if TMP007 15 16choice 17 prompt "Trigger mode" 18 default TMP007_TRIGGER_NONE 19 help 20 Specify the type of triggering to be used by the driver. 21 22config TMP007_TRIGGER_NONE 23 bool "No trigger" 24 25config TMP007_TRIGGER_GLOBAL_THREAD 26 bool "Use global thread" 27 depends on GPIO 28 select TMP007_TRIGGER 29 30config TMP007_TRIGGER_OWN_THREAD 31 bool "Use own thread" 32 depends on GPIO 33 select TMP007_TRIGGER 34 35endchoice 36 37config TMP007_TRIGGER 38 bool 39 40config TMP007_THREAD_PRIORITY 41 int "Thread priority" 42 depends on TMP007_TRIGGER_OWN_THREAD 43 default 10 44 help 45 Priority of thread used by the driver to handle interrupts. 46 47config TMP007_THREAD_STACK_SIZE 48 int "Thread stack size" 49 depends on TMP007_TRIGGER_OWN_THREAD 50 default 1024 51 help 52 Stack size of thread used by the driver to handle interrupts. 53 54endif # TMP007 55