pub enum ReadStatus {
WaitingForData(u8),
Idle,
DataPrepared,
}
Expand description
Status of I2C read operations (data from device to host).
Variants§
WaitingForData(u8)
Host has asked to read data, debugger device is currently stretching the clock waiting to be told what data to transmit via I2C. Parameter is 7-bit I2C address.
Idle
Host is not asking to read data, and debugger also does not have any prepared data.
DataPrepared
Host is not asking to read data, debugger has prepared data for the case the host should ask in the future.
Trait Implementations§
Source§impl Debug for ReadStatus
impl Debug for ReadStatus
Source§impl<'de> Deserialize<'de> for ReadStatus
impl<'de> Deserialize<'de> for ReadStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReadStatus
impl RefUnwindSafe for ReadStatus
impl Send for ReadStatus
impl Sync for ReadStatus
impl Unpin for ReadStatus
impl UnwindSafe for ReadStatus
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more