Enum i2c_parser::DecodeState [] [src]

pub enum DecodeState {
    Idle,
    Pending,
    Complete(I2cMessage),
}

Representation of the current engine state

  • Idle: A message has not yet been started
  • Pending: An I2C START condition has been received, waiting for a STOP
  • Complete: A STOP condition has just occurred, and contains all bytes received between START and STOP

Variants

Trait Implementations

impl Debug for DecodeState
[src]

Formats the value using the given formatter.

impl PartialEq for DecodeState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.