[][src]Struct shtcx::sensor_class::Sht2Gen

pub struct Sht2Gen;

Type parameter: Second generation SHT sensor (SHTC3).

Trait Implementations

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 ShtSensor for Sht2Gen[src]

Auto Trait Implementations

impl RefUnwindSafe for Sht2Gen

impl Send for Sht2Gen

impl Sync for Sht2Gen

impl Unpin for Sht2Gen

impl UnwindSafe for Sht2Gen

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.