1# 2# Copyright (c) 2021 Jimmy Johnson <catch22@fastmail.net> 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6 7mainmenu "TMP108 sample application" 8 9config APP_REPORT_TEMP_ALERTS 10 bool "Report over and under temperature alerts" 11 default n 12 13config APP_ENABLE_ONE_SHOT 14 bool "One shot low power mode" 15 default n 16 help 17 One shot requires a callback to be invoked after the tmp108 has 18 woken up and taken a temperature reading, calling sample_fetch 19 starts this process. Set this to enable 1 shot mode example. 20 21config APP_TEMP_ALERT_HIGH_THRESH 22 int "RH [%] high threshold for alert trigger in celsius" 23 range 0 50 24 default 26 25 help 26 Set this to enable alerts for high temperatures 27 although this will work with one shot enabled, 28 it requires continuous monitoring mode to be enabled 29 to work in real time. 30 See spec sheet for more details. 31 32config APP_TEMP_ALERT_LOW_THRESH 33 int "RH [%] low threshold for alert trigger in celsius" 34 range 0 50 35 default 18 36 help 37 Set this to enable alerts for low temperatures 38 although this will work with one shot enabled, 39 it requires continuous monitoring mode to be enabled 40 to work in real time. 41 See spec sheet for more details. 42 43source "Kconfig.zephyr" 44