|
HardFOC Core
API 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. | |
Construction-time configuration for one SF06 flow meter.
| std::uint16_t SfmHandlerConfig::averaging_window {0} |
On-sensor averaging: 0 = average-until-read, 1…128 = fixed-N.
| sfm::Gas SfmHandlerConfig::default_gas {sfm::Gas::Air} |
Gas table requested at Start() when the caller passes none.
| std::uint8_t SfmHandlerConfig::device_index {0} |
Logical index for diagnostics.
| std::uint16_t SfmHandlerConfig::o2_permille {0} |
O2 volume fraction (‰) for mixture tables.
| bool SfmHandlerConfig::soft_reset_on_init {false} |
Issue a general-call soft reset during bring-up when the bus supports it.