Enum BME280.StandbyDuration

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

public static enum BME280.StandbyDuration
extends Enum<BME280.StandbyDuration>
Inactive duration in standby mode; can be STANDBY_
  • 500_US (0.5 ms)
  • 62_5_MS (62.5 ms)
  • 125_MS (125 ms)
  • 250_MS (250 ms)
  • 500_MS (500 ms)
  • 1_S (1 second)
  • 10_MS (10 ms)
  • 20_MS (20 ms)
  • Enum Constant Details

  • Method Details

    • values

      public static BME280.StandbyDuration[] 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 BME280.StandbyDuration 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
    • getMask

      public byte getMask()