Trait shtcx::MeasurementDuration

source ·
pub trait MeasurementDuration {
    // Required method
    fn max_measurement_duration(mode: PowerMode) -> u32;
}
Expand description

Determine the maximum measurement duration (according to the datasheet).

Required Methods§

source

fn max_measurement_duration(mode: PowerMode) -> u32

Return the maximum measurement duration (depending on the mode) in microseconds.

Object Safety§

This trait is not object safe.

Implementors§