Struct stm32wlxx_hal::pac::dmamux::c12cr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register C12CR
writer
Implementations§
§impl W
impl W
pub fn sync_id(
&mut self
) -> FieldWriterRaw<'_, u32, C12CR_SPEC, u8, u8, Unsafe, 5, 24>
pub fn sync_id( &mut self ) -> FieldWriterRaw<'_, u32, C12CR_SPEC, u8, u8, Unsafe, 5, 24>
Bits 24:28 - SYNC_ID
pub fn nbreq(
&mut self
) -> FieldWriterRaw<'_, u32, C12CR_SPEC, u8, u8, Unsafe, 5, 19>
pub fn nbreq( &mut self ) -> FieldWriterRaw<'_, u32, C12CR_SPEC, u8, u8, Unsafe, 5, 19>
Bits 19:23 - NBREQ
pub fn spol(
&mut self
) -> FieldWriterRaw<'_, u32, C12CR_SPEC, u8, u8, Unsafe, 2, 17>
pub fn spol( &mut self ) -> FieldWriterRaw<'_, u32, C12CR_SPEC, u8, u8, Unsafe, 2, 17>
Bits 17:18 - SPOL
pub fn se(&mut self) -> BitWriterRaw<'_, u32, C12CR_SPEC, bool, BitM, 16>
pub fn se(&mut self) -> BitWriterRaw<'_, u32, C12CR_SPEC, bool, BitM, 16>
Bit 16 - SE
pub fn ege(&mut self) -> BitWriterRaw<'_, u32, C12CR_SPEC, bool, BitM, 9>
pub fn ege(&mut self) -> BitWriterRaw<'_, u32, C12CR_SPEC, bool, BitM, 9>
Bit 9 - EGE
pub fn soie(&mut self) -> BitWriterRaw<'_, u32, C12CR_SPEC, bool, BitM, 8>
pub fn soie(&mut self) -> BitWriterRaw<'_, u32, C12CR_SPEC, bool, BitM, 8>
Bit 8 - SOIE
pub fn dmareq_id(
&mut self
) -> FieldWriterRaw<'_, u32, C12CR_SPEC, u8, u8, Unsafe, 8, 0>
pub fn dmareq_id( &mut self ) -> FieldWriterRaw<'_, u32, C12CR_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - DMAREQ_ID
Methods from Deref<Target = W<C12CR_SPEC>>§
pub 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§
§impl From<W<C12CR_SPEC>> for W
impl From<W<C12CR_SPEC>> for W
§fn from(writer: W<C12CR_SPEC>) -> W
fn from(writer: W<C12CR_SPEC>) -> W
Converts to this type from the input type.
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