#[repr(u8)]
pub enum CMR_A {
NO_CHANGE,
FD,
FD_BITRATE_SWITCH,
ISO11898_1,
}
Expand description
CAN Mode Request (read/write)
Value on reset: 0
Variants
NO_CHANGE
0: No mode change
FD
1: Request CAN FD operation
FD_BITRATE_SWITCH
2: Request CAN FD operation with bit rate switching
ISO11898_1
3: Request CAN operation according ISO11898-1
Trait Implementations
impl Copy for CMR_A
impl StructuralPartialEq for CMR_A
Auto Trait Implementations
impl RefUnwindSafe for CMR_A
impl Send for CMR_A
impl Sync for CMR_A
impl Unpin for CMR_A
impl UnwindSafe for CMR_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more