Struct lm75::Lm75[][src]

pub struct Lm75<I2C> { /* fields omitted */ }

LM75 device driver.

Methods

impl<I2C, E> Lm75<I2C> where
    I2C: Write<Error = E>, 
[src]

Create new instance of the LM75 device.

Destroy driver instance, return I²C bus instance.

Enable the sensor.

Disable the sensor (shutdown).

impl<I2C, E> Lm75<I2C> where
    I2C: WriteRead<Error = E>, 
[src]

Read the temperature from the sensor.

Trait Implementations

impl<I2C: Debug> Debug for Lm75<I2C>
[src]

Formats the value using the given formatter. Read more

impl<I2C: Default> Default for Lm75<I2C>
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<I2C> Send for Lm75<I2C> where
    I2C: Send

impl<I2C> Sync for Lm75<I2C> where
    I2C: Sync