pub enum AbortReason {
NoAcknowledge,
ArbitrationLoss,
TxNotEmpty(u16),
Other(u32),
}Expand description
I2C error abort reason
Variants§
NoAcknowledge
A bus operation was not acknowledged, e.g. due to the addressed device not being available on the bus or the device not being ready to process requests at the moment
ArbitrationLoss
The arbitration was lost, e.g. electrical problems with the clock signal
TxNotEmpty(u16)
Transmit ended with data still in fifo
Other(u32)
Other reason.
Trait Implementations§
Source§impl Clone for AbortReason
impl Clone for AbortReason
Source§fn clone(&self) -> AbortReason
fn clone(&self) -> AbortReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AbortReason
Source§impl Debug for AbortReason
impl Debug for AbortReason
impl Eq for AbortReason
Source§impl Format for AbortReason
impl Format for AbortReason
Source§impl PartialEq for AbortReason
impl PartialEq for AbortReason
impl StructuralPartialEq for AbortReason
Auto Trait Implementations§
impl Freeze for AbortReason
impl RefUnwindSafe for AbortReason
impl Send for AbortReason
impl Sync for AbortReason
impl Unpin for AbortReason
impl UnsafeUnpin for AbortReason
impl UnwindSafe for AbortReason
Blanket Implementations§
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