1# ENS210 Digital Temperature and Humidity sensor configuration options 2 3# Copyright (c) 2018 Alexander Wachter. 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig ENS210 7 bool "ENS210 Digital Temperature and Humidity sensor" 8 default y 9 depends on DT_HAS_AMS_ENS210_ENABLED 10 select I2C 11 help 12 Enable driver for ENS210 Digital Temperature and Humidity sensor. 13if ENS210 14 15choice 16 prompt "Temperature measurement mode" 17 default ENS210_TEMPERATURE_CONTINUOUS 18 help 19 Enable/disable temperature measurements and set measurement mode. 20config ENS210_TEMPERATURE_OFF 21 bool "Disable temperature measurements" 22config ENS210_TEMPERATURE_SINGLE 23 bool "Temperature measurements in single shot mode" 24config ENS210_TEMPERATURE_CONTINUOUS 25 bool "Temperature measurements in continuous mode" 26endchoice 27 28choice 29 prompt "Humidity measurement mode" 30 default ENS210_HUMIDITY_CONTINUOUS 31 help 32 Enable/disable relative humidity measurements and set measurement mode. 33config ENS210_HUMIDITY_OFF 34 bool "Disable relative humidity measurements" 35config ENS210_HUMIDITY_SINGLE 36 bool "Relative humidity measurements in single shot mode" 37config ENS210_HUMIDITY_CONTINUOUS 38 bool "Relative humidity measurements in continuous mode" 39endchoice 40 41config ENS210_CRC_CHECK 42 bool "CRC Check" 43 default y 44 help 45 Check the crc value after data reading. 46 47config ENS210_MAX_STAT_RETRIES 48 int "Number of status read retries" 49 default 4 50 help 51 Number of retries when status reading failed or device not ready. 52 53config ENS210_MAX_READ_RETRIES 54 int "Number of value reading retries" 55 default 4 56 help 57 Number of retries when value reading failed, value not valid 58 or crc not ok. 59 60endif # ENS210 61