pub struct W(/* private fields */);
Expand description
Register BCR%s
writer
Implementations§
source§impl W
impl W
sourcepub fn cburstrw(
&mut self
) -> BitWriterRaw<'_, u32, BCR_SPEC, CBURSTRW_A, BitM, 19>
pub fn cburstrw( &mut self ) -> BitWriterRaw<'_, u32, BCR_SPEC, CBURSTRW_A, BitM, 19>
Bit 19 - CBURSTRW
sourcepub fn asyncwait(
&mut self
) -> BitWriterRaw<'_, u32, BCR_SPEC, ASYNCWAIT_A, BitM, 15>
pub fn asyncwait( &mut self ) -> BitWriterRaw<'_, u32, BCR_SPEC, ASYNCWAIT_A, BitM, 15>
Bit 15 - ASYNCWAIT
sourcepub fn extmod(&mut self) -> BitWriterRaw<'_, u32, BCR_SPEC, EXTMOD_A, BitM, 14>
pub fn extmod(&mut self) -> BitWriterRaw<'_, u32, BCR_SPEC, EXTMOD_A, BitM, 14>
Bit 14 - EXTMOD
sourcepub fn waiten(&mut self) -> BitWriterRaw<'_, u32, BCR_SPEC, WAITEN_A, BitM, 13>
pub fn waiten(&mut self) -> BitWriterRaw<'_, u32, BCR_SPEC, WAITEN_A, BitM, 13>
Bit 13 - WAITEN
sourcepub fn waitcfg(
&mut self
) -> BitWriterRaw<'_, u32, BCR_SPEC, WAITCFG_A, BitM, 11>
pub fn waitcfg( &mut self ) -> BitWriterRaw<'_, u32, BCR_SPEC, WAITCFG_A, BitM, 11>
Bit 11 - WAITCFG
sourcepub fn waitpol(&mut self) -> BitWriterRaw<'_, u32, BCR_SPEC, WAITPOL_A, BitM, 9>
pub fn waitpol(&mut self) -> BitWriterRaw<'_, u32, BCR_SPEC, WAITPOL_A, BitM, 9>
Bit 9 - WAITPOL
sourcepub fn bursten(&mut self) -> BitWriterRaw<'_, u32, BCR_SPEC, BURSTEN_A, BitM, 8>
pub fn bursten(&mut self) -> BitWriterRaw<'_, u32, BCR_SPEC, BURSTEN_A, BitM, 8>
Bit 8 - BURSTEN
sourcepub fn mwid(
&mut self
) -> FieldWriterRaw<'_, u32, BCR_SPEC, u8, MWID_A, Unsafe, 2, 4>
pub fn mwid( &mut self ) -> FieldWriterRaw<'_, u32, BCR_SPEC, u8, MWID_A, Unsafe, 2, 4>
Bits 4:5 - MWID
sourcepub fn mtyp(
&mut self
) -> FieldWriterRaw<'_, u32, BCR_SPEC, u8, MTYP_A, Unsafe, 2, 2>
pub fn mtyp( &mut self ) -> FieldWriterRaw<'_, u32, BCR_SPEC, u8, MTYP_A, Unsafe, 2, 2>
Bits 2:3 - MTYP
Methods from Deref<Target = W<BCR_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