# Copyright (c) 2021 HAW Hamburg # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # directory for more details. # menuconfig MODULE_SI70XX bool prompt "Si7006/13/20/21 temperature and humidity sensors" if !(MODULE_SAUL_DEFAULT && HAVE_SI70XX) default (MODULE_SAUL_DEFAULT && HAVE_SI70XX) depends on TEST_KCONFIG depends on HAS_PERIPH_I2C select MODULE_PERIPH_I2C select MODULE_ZTIMER select MODULE_ZTIMER_MSEC choice SI70XX_VARIANT bool "Sensor variant" depends on MODULE_SI70XX default MODULE_SI7006 if HAVE_SI7006 default MODULE_SI7013 if HAVE_SI7013 default MODULE_SI7020 if HAVE_SI7020 default MODULE_SI7021 if HAVE_SI7021 config MODULE_SI7006 bool "SI7006" config MODULE_SI7013 bool "SI7013" config MODULE_SI7020 bool "SI7020" config MODULE_SI7021 bool "SI7021" endchoice config HAVE_SI70XX bool help Indicates that a si70XX sensor is present. config HAVE_SI7006 bool select HAVE_SI70XX help Indicates that a si7006 sensor is present. config HAVE_SI7013 bool select HAVE_SI70XX help Indicates that a si7013 sensor is present. config HAVE_SI7020 bool select HAVE_SI70XX help Indicates that a si7020 sensor is present. config HAVE_SI7021 bool select HAVE_SI70XX help Indicates that a si7021 sensor is present.