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

Settings for begin. More...

#include <unit_BME688.hpp>

Public Attributes

bool start_periodic {true}
 Start periodic measurement on begin?
 
int8_t ambient_temperature {25}
 ambient temperature
 
Exclude NanoC6
uint32_t subscribe_bits
 Subscribe BSEC2 sensors bits if start on begin.
 
bme688::bsec2::SampleRate sample_rate {bme688::bsec2::SampleRate::LowPower}
 Sampling rate for BSEC2 if start on begin.
 
Only Nano6
bme688::Mode mode {bme688::Mode::Forced}
 Measurement mode if start on begin.
 
bme688::Oversampling oversampling_temperature {bme688::Oversampling::x2}
 Temperature oversampling if start on begin.
 
bme688::Oversampling oversampling_pressure {bme688::Oversampling::x1}
 Pressure oversampling if start on begin.
 
bme688::Oversampling oversampling_humidity {bme688::Oversampling::x16}
 Humidity oversampling if start on begin.
 
bme688::Filter filter {bme688::Filter::None}
 Filter coefficient if start on begin.
 
bme688::ODR odr {bme688::ODR::None}
 Standby time between sequential mode measurement profiles if start on begin.
 
bool heater_enable {true}
 Enable gas measurement if start on begin.
 
uint16_t heater_temperature {300}
 The heater temperature for forced mode degree Celsius if start on begin.
 
uint16_t heater_duration {100}
 The heating duration for forced mode in milliseconds if start on begin.
 

Detailed Description

Settings for begin.

Member Data Documentation

◆ sample_rate

bme688::bsec2::SampleRate m5::unit::UnitBME688::config_t::sample_rate {bme688::bsec2::SampleRate::LowPower}

Sampling rate for BSEC2 if start on begin.

Warning
Depending on the value specified for the sample rate, appropriate configuration settings may be required in advance.

◆ subscribe_bits

uint32_t m5::unit::UnitBME688::config_t::subscribe_bits
Initial value:
{1U << BSEC_OUTPUT_IAQ | 1U << BSEC_OUTPUT_RAW_TEMPERATURE |
1U << BSEC_OUTPUT_RAW_PRESSURE | 1U << BSEC_OUTPUT_RAW_HUMIDITY |
1U << BSEC_OUTPUT_RAW_GAS | 1U << BSEC_OUTPUT_STABILIZATION_STATUS |
1U << BSEC_OUTPUT_RUN_IN_STATUS}

Subscribe BSEC2 sensors bits if start on begin.