Struct rust_i2c::I2CStream[][src]

pub struct I2CStream { /* fields omitted */ }

An implementation of i2c_hal::Stream which uses the i2c_linux crate for communication with actual I2C hardware.

Methods

impl I2CStream
[src]

Creates new I2CStream instance

Arguments

path - File system path to I2C device handle slave - Address of slave I2C device

Trait Implementations

impl Stream for I2CStream
[src]

Writing

Reading

Read/Write transaction

Auto Trait Implementations

impl Send for I2CStream

impl Sync for I2CStream