pub fn i2c(sda: &[(Tick, Level)], scl: &[(Tick, Level)]) -> Vec<Frame>Expand description
Decode complete I2C transactions from SDA and SCL recordings.
START and STOP are SDA transitions while SCL is high. Data changes while SCL is low are ignored. A repeated START closes the open transaction (with no error) and opens the next one at the same tick.