#[repr(transparent)]pub struct Mcr(pub u32);Expand description
Module Configuration
Tuple Fields§
§0: u32Implementations§
Source§impl Mcr
impl Mcr
Sourcepub const fn set_lprioen(&mut self, val: Lprioen)
pub const fn set_lprioen(&mut self, val: Lprioen)
Local Priority Enable
Sourcepub const fn set_pnet_en(&mut self, val: PnetEn)
pub const fn set_pnet_en(&mut self, val: PnetEn)
Pretended Networking Enable
Sourcepub const fn set_srxdis(&mut self, val: Srxdis)
pub const fn set_srxdis(&mut self, val: Srxdis)
Self-Reception Disable
Sourcepub const fn set_waksrc(&mut self, val: bool)
pub const fn set_waksrc(&mut self, val: bool)
Wake-Up Source
Sourcepub const fn set_lpmack(&mut self, val: Lpmack)
pub const fn set_lpmack(&mut self, val: Lpmack)
Low-Power Mode Acknowledge
Sourcepub const fn set_slfwak(&mut self, val: Slfwak)
pub const fn set_slfwak(&mut self, val: Slfwak)
Self-Wake-Up Feature
Sourcepub const fn set_frzack(&mut self, val: Frzack)
pub const fn set_frzack(&mut self, val: Frzack)
Freeze Mode Acknowledge
Sourcepub const fn set_softrst(&mut self, val: Softrst)
pub const fn set_softrst(&mut self, val: Softrst)
Soft Reset
Sourcepub const fn set_wakmsk(&mut self, val: Wakmsk)
pub const fn set_wakmsk(&mut self, val: Wakmsk)
Wake-up Interrupt Mask
Sourcepub const fn set_notrdy(&mut self, val: Notrdy)
pub const fn set_notrdy(&mut self, val: Notrdy)
FlexCAN Not Ready
Trait Implementations§
impl Copy for Mcr
impl Eq for Mcr
impl StructuralPartialEq for Mcr
Auto Trait Implementations§
impl Freeze for Mcr
impl RefUnwindSafe for Mcr
impl Send for Mcr
impl Sync for Mcr
impl Unpin for Mcr
impl UnwindSafe for Mcr
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