SFM Flow Meter Driver 1.0.0
API reference
Loading...
Searching...
No Matches
Variables
sfm::timing Namespace Reference

Timing (data sheet §2.4 / §4.3). More...

Variables

constexpr uint32_t kFirstResultAfterStartMs = 12
 first reading valid after start
 
constexpr uint32_t kAccuracySettleAfterStartMs = 30
 few-% deviations possible before
 
constexpr uint32_t kSoftResetMs = 20
 typ. 16 ms, max 20 ms
 
constexpr uint32_t kWarmUpMs = 30
 after reset / exit sleep
 
constexpr uint32_t kMeasurementPeriodUs = 500
 internal sample period (~2 kHz)
 
constexpr uint32_t kStopToIdleUs = 500
 §4.3.4: idle and receptive ≤ 0.5 ms after stop
 
constexpr uint32_t kStopToIdleMs = 1
 kStopToIdleUs rounded up for DelayMs()
 
constexpr uint16_t kMaxAveragingWindow = 128
 
constexpr uint32_t kSfx6000SoftResetMs = 30
 interface reference §1.2
 
constexpr uint32_t kSfx6000MeasurementPeriodUs = 1000
 1 kHz, NACK when no new sample
 

Detailed Description

Timing (data sheet §2.4 / §4.3).

Variable Documentation

◆ kAccuracySettleAfterStartMs

constexpr uint32_t sfm::timing::kAccuracySettleAfterStartMs = 30
constexpr

few-% deviations possible before

◆ kFirstResultAfterStartMs

constexpr uint32_t sfm::timing::kFirstResultAfterStartMs = 12
constexpr

first reading valid after start

◆ kMaxAveragingWindow

constexpr uint16_t sfm::timing::kMaxAveragingWindow = 128
constexpr

◆ kMeasurementPeriodUs

constexpr uint32_t sfm::timing::kMeasurementPeriodUs = 500
constexpr

internal sample period (~2 kHz)

◆ kSfx6000MeasurementPeriodUs

constexpr uint32_t sfm::timing::kSfx6000MeasurementPeriodUs = 1000
constexpr

1 kHz, NACK when no new sample

◆ kSfx6000SoftResetMs

constexpr uint32_t sfm::timing::kSfx6000SoftResetMs = 30
constexpr

interface reference §1.2

◆ kSoftResetMs

constexpr uint32_t sfm::timing::kSoftResetMs = 20
constexpr

typ. 16 ms, max 20 ms

◆ kStopToIdleMs

constexpr uint32_t sfm::timing::kStopToIdleMs = 1
constexpr

kStopToIdleUs rounded up for DelayMs()

◆ kStopToIdleUs

constexpr uint32_t sfm::timing::kStopToIdleUs = 500
constexpr

§4.3.4: idle and receptive ≤ 0.5 ms after stop

◆ kWarmUpMs

constexpr uint32_t sfm::timing::kWarmUpMs = 30
constexpr

after reset / exit sleep