HardFOC Core
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
SfmHandlerConfig Struct Reference

Construction-time configuration for one SF06 flow meter. More...

#include <SfmHandler.h>

Public Attributes

sfm::Gas default_gas {sfm::Gas::Air}
 Gas table requested at Start() when the caller passes none.
 
std::uint16_t o2_permille {0}
 O2 volume fraction (‰) for mixture tables.
 
std::uint16_t averaging_window {0}
 On-sensor averaging: 0 = average-until-read, 1…128 = fixed-N.
 
bool soft_reset_on_init {false}
 Issue a general-call soft reset during bring-up when the bus supports it.
 
std::uint8_t device_index {0}
 Logical index for diagnostics.
 

Detailed Description

Construction-time configuration for one SF06 flow meter.

Member Data Documentation

◆ averaging_window

std::uint16_t SfmHandlerConfig::averaging_window {0}

On-sensor averaging: 0 = average-until-read, 1…128 = fixed-N.

◆ default_gas

sfm::Gas SfmHandlerConfig::default_gas {sfm::Gas::Air}

Gas table requested at Start() when the caller passes none.

◆ device_index

std::uint8_t SfmHandlerConfig::device_index {0}

Logical index for diagnostics.

◆ o2_permille

std::uint16_t SfmHandlerConfig::o2_permille {0}

O2 volume fraction (‰) for mixture tables.

◆ soft_reset_on_init

bool SfmHandlerConfig::soft_reset_on_init {false}

Issue a general-call soft reset during bring-up when the bus supports it.


The documentation for this struct was generated from the following file: