|
SFM Flow Meter Driver 1.0.0
API reference
|
Sensirion flow-meter I2C client: SF06 (SFM4300 data sheet §4) and SFx6000 (SFM6000D, SFC6xxx/SFM6xxx I2C interface reference v1.1). More...
#include "sfm_commands.hpp"#include "sfm_i2c_interface.hpp"#include "sfm_types.hpp"#include <cstddef>#include <cstdint>Go to the source code of this file.
Classes | |
| class | sfm::Driver< I2cT > |
| SF06 flow-meter client. More... | |
Namespaces | |
| namespace | sfm |
Sensirion flow-meter I2C client: SF06 (SFM4300 data sheet §4) and SFx6000 (SFM6000D, SFC6xxx/SFM6xxx I2C interface reference v1.1).
Start/stop continuous measurement per gas or binary mixture, single-frame read, concentration update, scale/offset/unit query, product identifier and general-call soft reset on both families; averaging and sleep on SF06; temperature through the output-buffer pointer on SFx6000. The family is learned from the product identifier (or given by the caller) and decides which start code means which gas. Every received 16-bit word is CRC-8 checked; every argument word is sent with its CRC-8.
Typical session: