pub enum ErrorPosition {
StartOfFrame,
Arbitration,
Control,
Data,
Crc,
Ack,
EndOfFrame,
ErrorFrame,
OverloadFrame,
Other,
Unknown(u8),
}Available on crate feature
unstable only.Expand description
Where in a frame the core last flagged an error (TRM 38.3.13.1).
Variants§
StartOfFrame
Start of frame.
Arbitration
Arbitration field.
Control
Control field.
Data
Data field.
Crc
CRC field.
Ack
CRC delimiter, ACK field or ACK delimiter.
EndOfFrame
End-of-frame field.
ErrorFrame
During an error frame.
OverloadFrame
During an overload frame.
Other
Somewhere else. Also what the register reads out of reset.
Unknown(u8)
Hardware reported a code this driver does not model.
Trait Implementations§
Source§impl Clone for ErrorPosition
impl Clone for ErrorPosition
impl Copy for ErrorPosition
Source§impl Debug for ErrorPosition
impl Debug for ErrorPosition
impl Eq for ErrorPosition
Source§impl Hash for ErrorPosition
impl Hash for ErrorPosition
Source§impl PartialEq for ErrorPosition
impl PartialEq for ErrorPosition
impl StructuralPartialEq for ErrorPosition
Auto Trait Implementations§
impl Freeze for ErrorPosition
impl RefUnwindSafe for ErrorPosition
impl Send for ErrorPosition
impl Sync for ErrorPosition
impl Unpin for ErrorPosition
impl UnsafeUnpin for ErrorPosition
impl UnwindSafe for ErrorPosition
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)