|
SFM Flow Meter Driver 1.0.0
API reference
|
Decoded status word (data sheet §4.3.2, Table 5). More...
#include <sfm_types.hpp>
Public Member Functions | |
| constexpr uint8_t | command_nibble () const noexcept |
| constexpr bool | exponential_smoothing () const noexcept |
| constexpr bool | fixed_n_averaging () const noexcept |
| constexpr uint16_t | gas_fraction_permille () const noexcept |
| constexpr bool | pure_gas () const noexcept |
Public Attributes | |
| uint16_t | raw {0} |
Decoded status word (data sheet §4.3.2, Table 5).
bits 15:12 — index of the running start command (0b0000 O2 … 0b1000 CO2/O2), bit 11 — exponential smoothing active (avg-until-read idle > 64 ms), bit 10 — fixed-N averaging active, bits 9:0 — gas fraction (‰) or 0x3FF for pure gas.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
| uint16_t sfm::StatusWord::raw {0} |