#[repr(u8)]pub enum Cfmod {
Value1 = 0,
Value2 = 1,
Value3 = 2,
Value4 = 3,
}
Expand description
CAN Frame Counter Mode
Value on reset: 0
Variants§
Value1 = 0
0: Frame Count Mode: The frame counter is incremented upon the reception and transmission of frames.
Value2 = 1
1: Time Stamp Mode: The frame counter is used to count bit times.
Value3 = 2
2: Bit Timing Mode: The frame counter is used for analysis of the bit timing.
Value4 = 3
3: Error Count Mode: The frame counter is used for counting when an error frame is received or an error is detected by the node.
Trait Implementations§
source§impl PartialEq for Cfmod
impl PartialEq for Cfmod
impl Copy for Cfmod
impl Eq for Cfmod
impl StructuralPartialEq for Cfmod
Auto Trait Implementations§
impl RefUnwindSafe for Cfmod
impl Send for Cfmod
impl Sync for Cfmod
impl Unpin for Cfmod
impl UnwindSafe for Cfmod
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