#[repr(u8)]pub enum LEC {
NoError = 0,
Stuff = 1,
Form = 2,
Ack = 3,
BitRecessive = 4,
BitDominant = 5,
Crc = 6,
Custom = 7,
}
Expand description
LEC
Value on reset: 0
Variants§
NoError = 0
0: No Error
Stuff = 1
1: Stuff Error
Form = 2
2: Form Error
Ack = 3
3: Acknowledgment Error
BitRecessive = 4
4: Bit recessive Error
BitDominant = 5
5: Bit dominant Error
Crc = 6
6: CRC Error
Custom = 7
7: Set by software
Trait Implementations§
impl Copy for LEC
impl Eq for LEC
impl IsEnum for LEC
impl StructuralPartialEq for LEC
Auto Trait Implementations§
impl Freeze for LEC
impl RefUnwindSafe for LEC
impl Send for LEC
impl Sync for LEC
impl Unpin for LEC
impl UnwindSafe for LEC
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