Module diozero.core

Enum BME68x.OperatingMode

java.lang.Object
java.lang.Enum<BME68x.OperatingMode>
com.diozero.devices.BME68x.OperatingMode
All Implemented Interfaces:
Serializable, Comparable<BME68x.OperatingMode>
Enclosing class:
BME68x

public static enum BME68x.OperatingMode extends Enum<BME68x.OperatingMode>
Operating mode. BME680 only supports SLEEP & FORCED. Note SEQUENTIAL mode is not described in the datasheet. https://community.bosch-sensortec.com/t5/MEMS-sensors-forum/BME680-Gas-sensor-heater-unstable/m-p/23342#M6788 "The working principle is you configure all heat parameters first, then set sensor into sequential mode, then sensor will start measurement like "T,P,H, GAS" sequence. and go through the heat parameters table one after the other. After one test period, you can read out value from data register."
  • Enum Constant Details

  • Method Details

    • values

      public static BME68x.OperatingMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static BME68x.OperatingMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null