pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
sourcepub fn rxdma(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 0>
pub fn rxdma(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 0>
Bit 0 - Reception DMA enable
sourcepub fn txdma(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 1>
pub fn txdma(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 1>
Bit 1 - Transmission DMA enable
sourcepub fn rxmode(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 2>
pub fn rxmode(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 2>
Bit 2 - Reception buffering mode
sourcepub fn txmode(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 3>
pub fn txmode(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 3>
Bit 3 - Transmission buffering mode
sourcepub fn lpbk(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 4>
pub fn lpbk(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 4>
Bit 4 - Loopback mode enable
sourcepub fn swpact(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 5>
pub fn swpact(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 5>
Bit 5 - Single wire protocol master interface activate
sourcepub fn deact(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 10>
pub fn deact(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 10>
Bit 10 - Single wire protocol master interface deactivate
Methods from Deref<Target = W<CR_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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more