Struct linux_embedded_hal::I2cdev [] [src]

pub struct I2cdev { /* fields omitted */ }

Newtype around i2cdev::linux::LinuxI2CDevice that implements the embedded-hal traits

Methods

impl I2cdev
[src]

[src]

Methods from Deref<Target = LinuxI2CDevice>

Trait Implementations

impl Read for I2cdev
[src]

Error type

[src]

Reads enough bytes from slave with address to fill buffer Read more

impl Write for I2cdev
[src]

Error type

[src]

Sends bytes to slave with address addr Read more

impl WriteRead for I2cdev
[src]

Error type

[src]

Sends bytes to slave with address addr and then reads enough bytes to fill buffer in a single transaction Read more

impl Deref for I2cdev
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl DerefMut for I2cdev
[src]

[src]

Mutably dereferences the value.