pub struct W(/* private fields */);
Expand description
Register CCCR
writer
Implementations§
source§impl W
impl W
sourcepub fn init(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 0>
pub fn init(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 0>
Bit 0 - Initialization
sourcepub fn cce(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 1>
pub fn cce(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 1>
Bit 1 - Configuration Change Enable
sourcepub fn asm(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 2>
pub fn asm(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 2>
Bit 2 - ASM Restricted Operation Mode
sourcepub fn csa(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 3>
pub fn csa(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 3>
Bit 3 - Clock Stop Acknowledge
sourcepub fn csr(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 4>
pub fn csr(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 4>
Bit 4 - Clock Stop Request
sourcepub fn mon(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 5>
pub fn mon(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 5>
Bit 5 - Bus Monitoring Mode
sourcepub fn dar(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 6>
pub fn dar(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 6>
Bit 6 - Disable Automatic Retransmission
sourcepub fn test(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 7>
pub fn test(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 7>
Bit 7 - Test Mode Enable
sourcepub fn fdoe(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 8>
pub fn fdoe(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 8>
Bit 8 - FD Operation Enable
sourcepub fn bse(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 9>
pub fn bse(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 9>
Bit 9 - FDCAN Bit Rate Switching
sourcepub fn pxhd(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 12>
pub fn pxhd(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 12>
Bit 12 - Protocol Exception Handling Disable
sourcepub fn efbi(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 13>
pub fn efbi(&mut self) -> BitWriterRaw<'_, u32, CCCR_SPEC, bool, BitM, 13>
Bit 13 - Edge Filtering during Bus Integration
Methods from Deref<Target = W<CCCR_SPEC>>§
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
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