[−][src]Trait shtcx::MeasurementDuration
Determine the maximum measurement duration (according to the datasheet).
Required methods
fn max_measurement_duration(mode: PowerMode) -> u16
Return the maximum measurement duration (depending on the mode) in microseconds.
Implementors
impl MeasurementDuration for Sht1Gen
[src]
fn max_measurement_duration(mode: PowerMode) -> u16
[src]
Return the maximum measurement duration in microseconds.
Maximum measurement duration:
- Normal mode: 14.4 ms (SHTC1/SHTW2 datasheet 3.1)
- Low power mode: 0.94 us (SHTC1/SHTW2 low power application note)
impl MeasurementDuration for Sht2Gen
[src]
fn max_measurement_duration(mode: PowerMode) -> u16
[src]
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
impl MeasurementDuration for ShtGeneric
[src]
fn max_measurement_duration(mode: PowerMode) -> u16
[src]
Return the maximum measurement duration (depending on the mode) in microseconds.
Because this duration should work for all sensor models, it chooses the maximum duration of all models.
Maximum measurement duration:
- Normal mode: 14.4 ms (SHTC1, SHTW2)
- Low power mode: 0.94 ms (SHTC1, SHTW2)