This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
choice: BME280 sampling mode

BME280 sampling mode

Type: bool

Help

Select sampling mode. In normal mode continuous measurements are
performed, whereas in forced mode only single measurement is performed.

Direct dependencies

BME280 && SENSOR

(Includes any dependencies from ifs and menus.)

Kconfig definition

At drivers/sensor/bme280/Kconfig:15

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:64drivers/sensor/Kconfig:61

Menu path: (Top) → Device Drivers → Sensor Drivers → BME280/BMP280 sensor

choice
    bool "BME280 sampling mode"
    default BME280_MODE_NORMAL
    depends on BME280 && SENSOR
    help
      Select sampling mode. In normal mode continuous measurements are
      performed, whereas in forced mode only single measurement is performed.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)