#[repr(u8)]pub enum Pri {
Value2 = 1,
Value3 = 2,
Value4 = 3,
}
Expand description
Priority Class
Value on reset: 0
Variants§
Value2 = 1
1: Transmit acceptance filtering is based on the list order. This means that message object n is considered for transmission only if there is no other message object with valid transmit request (MSGVAL & TXEN0 & TXEN1 = 1) somewhere before this object in the list.
Value3 = 2
2: Transmit acceptance filtering is based on the CAN identifier. This means, message object n is considered for transmission only if there is no other message object with higher priority identifier + IDE + DIR (with respect to CAN arbitration rules) somewhere in the list (see ).
Value4 = 3
3: Transmit acceptance filtering is based on the list order (as PRI = 01B).
Trait Implementations§
impl Copy for Pri
impl Eq for Pri
impl StructuralPartialEq for Pri
Auto Trait Implementations§
impl RefUnwindSafe for Pri
impl Send for Pri
impl Sync for Pri
impl Unpin for Pri
impl UnwindSafe for Pri
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