Enum atsame51j::can0::psr::LECSELECT_A
source · #[repr(u8)]pub enum LECSELECT_A {
NONE = 0,
STUFF = 1,
FORM = 2,
ACK = 3,
BIT1 = 4,
BIT0 = 5,
CRC = 6,
NC = 7,
}
Expand description
Last Error Code
Value on reset: 7
Variants§
NONE = 0
0: No Error
STUFF = 1
1: Stuff Error
FORM = 2
2: Form Error
ACK = 3
3: Ack Error
BIT1 = 4
4: Bit1 Error
BIT0 = 5
5: Bit0 Error
CRC = 6
6: CRC Error
NC = 7
7: No Change
Trait Implementations§
source§impl Clone for LECSELECT_A
impl Clone for LECSELECT_A
source§fn clone(&self) -> LECSELECT_A
fn clone(&self) -> LECSELECT_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LECSELECT_A
impl Debug for LECSELECT_A
source§impl From<LECSELECT_A> for u8
impl From<LECSELECT_A> for u8
source§fn from(variant: LECSELECT_A) -> Self
fn from(variant: LECSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for LECSELECT_A
impl PartialEq for LECSELECT_A
source§fn eq(&self, other: &LECSELECT_A) -> bool
fn eq(&self, other: &LECSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LECSELECT_A
impl Eq for LECSELECT_A
impl StructuralPartialEq for LECSELECT_A
Auto Trait Implementations§
impl Freeze for LECSELECT_A
impl RefUnwindSafe for LECSELECT_A
impl Send for LECSELECT_A
impl Sync for LECSELECT_A
impl Unpin for LECSELECT_A
impl UnwindSafe for LECSELECT_A
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