M5Unit-ENV 1.2.0 git rev:d576302
Loading...
Searching...
No Matches
m5::unit::bme688::GasWait Struct Reference

GasSensor heater-on time. More...

#include <unit_BME688.hpp>

Public Types

enum class  Factor { x1 , x4 , x16 , x64 }
 Multiplier in Forced mode.
 

Public Member Functions

Getter
uint8_t step () const
 
Factor factor () const
 
Setter
void step (const uint8_t s)
 
void factor (const Factor f)
 

Static Public Member Functions

static uint8_t from (const uint16_t duration)
 Conversion from duration to register value for Force/Sequencial mode.
 
static uint16_t to (const uint8_t v)
 Conversion from register value to duration for Force/Sequencial mode.
 

Public Attributes

uint8_t value {}
 Use the value as it is in parallel mode.
 

Detailed Description

GasSensor heater-on time.

Note
Forced mode and Parallel mode are interpreted differently