Struct lps22hb::interface::i2c::I2cInterface[][src]

pub struct I2cInterface<I2C> { /* fields omitted */ }
Expand description

This holds I2C and device address

Implementations

Initializes an Interface with I2C instance and device address

Arguments
  • i2c - I2C instance
  • dev_addr - I2cAddress: register address for the pressure sensor

Trait Implementations

Implementation of Interface

Writes a byte to a sensor’s specified register address. Read more

Reads multiple bytes from a sensor’s specified register address. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.