Struct i2c_parser::I2cEngine [] [src]

pub struct I2cEngine { /* fields omitted */ }

Structure for parsing I2C Messages from raw SDA and SCL inputs

Methods

impl I2cEngine
[src]

Create a new I2CEngine in the idle and empty state

Process one sample of SDA and SCL data from an I2C bus.

Returns the current state, as well as a message if a STOP condition was just received

Trait Implementations

impl Debug for I2cEngine
[src]

Formats the value using the given formatter.