Struct shtcx::sensor_class::Sht2Gen
source · pub struct Sht2Gen;
Expand description
Type parameter: Second generation SHT sensor (SHTC3).
Trait Implementations§
source§impl MeasurementDuration for Sht2Gen
impl MeasurementDuration for Sht2Gen
source§fn max_measurement_duration(mode: PowerMode) -> u16
fn max_measurement_duration(mode: PowerMode) -> u16
Return the maximum measurement duration (depending on the mode) in microseconds.
Maximum measurement duration (SHTC3 datasheet 3.1):
- Normal mode: 12.1 ms
- Low power mode: 0.8 ms