Crate i2c_parser

Source
Expand description

§I2C Parsing State Machine Library

Rust implementation of pigpio’s I2C Sniffer.

Structs§

I2cByte
A single byte of I2C Data, including ACK or NAK state
I2cEngine
Structure for parsing I2C Messages from raw SDA and SCL inputs
I2cMessage
Structure containing a complete I2C message comprised of I2cBytes

Enums§

DecodeState
Representation of the current engine state
I2cStatus
Representation of ACK/NAK bit after every 8 bits of data