#[repr(transparent)]pub struct Mb138bCs(pub u32);Expand description
Message Buffer 13 CS Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Mb138bCs
impl Mb138bCs
Sourcepub const fn time_stamp(&self) -> u16
pub const fn time_stamp(&self) -> u16
Free-Running Counter Time stamp. This 16-bit field is a copy of the Free-Running Timer, captured for Tx and Rx frames at the time when the beginning of the Identifier field appears on the CAN bus.
Sourcepub const fn set_time_stamp(&mut self, val: u16)
pub const fn set_time_stamp(&mut self, val: u16)
Free-Running Counter Time stamp. This 16-bit field is a copy of the Free-Running Timer, captured for Tx and Rx frames at the time when the beginning of the Identifier field appears on the CAN bus.
Sourcepub const fn set_rtr(&mut self, val: bool)
pub const fn set_rtr(&mut self, val: bool)
Remote Transmission Request. One/zero for remote/data frame.
Sourcepub const fn set_ide(&mut self, val: bool)
pub const fn set_ide(&mut self, val: bool)
ID Extended. One/zero for extended/standard format frame.
Sourcepub const fn set_srr(&mut self, val: bool)
pub const fn set_srr(&mut self, val: bool)
Substitute Remote Request. Contains a fixed recessive bit.
Trait Implementations§
impl Copy for Mb138bCs
impl Eq for Mb138bCs
impl StructuralPartialEq for Mb138bCs
Auto Trait Implementations§
impl Freeze for Mb138bCs
impl RefUnwindSafe for Mb138bCs
impl Send for Mb138bCs
impl Sync for Mb138bCs
impl Unpin for Mb138bCs
impl UnwindSafe for Mb138bCs
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