Enum i2c_parser::DecodeState [] [src]

pub enum DecodeState {

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


Trait Implementations

impl Debug for DecodeState

Formats the value using the given formatter.

impl PartialEq for DecodeState

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

This method tests for !=.