Struct stm32wlxx_hal::pac::dmamux::c5cr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register C5CR
writer
Implementations§
§impl W
impl W
pub fn sync_id(
&mut self
) -> FieldWriterRaw<'_, u32, C5CR_SPEC, u8, SYNC_ID_A, Unsafe, 5, 24>
pub fn sync_id( &mut self ) -> FieldWriterRaw<'_, u32, C5CR_SPEC, u8, SYNC_ID_A, Unsafe, 5, 24>
Bits 24:28 - Synchronization identification
pub fn nbreq(
&mut self
) -> FieldWriterRaw<'_, u32, C5CR_SPEC, u8, u8, Safe, 5, 19>
pub fn nbreq( &mut self ) -> FieldWriterRaw<'_, u32, C5CR_SPEC, u8, u8, Safe, 5, 19>
Bits 19:23 - Number of DMA requests minus 1 to forward
pub fn spol(
&mut self
) -> FieldWriterRaw<'_, u32, C5CR_SPEC, u8, SPOL_A, Safe, 2, 17>
pub fn spol( &mut self ) -> FieldWriterRaw<'_, u32, C5CR_SPEC, u8, SPOL_A, Safe, 2, 17>
Bits 17:18 - Synchronization polarity
pub fn se(&mut self) -> BitWriterRaw<'_, u32, C5CR_SPEC, SE_A, BitM, 16>
pub fn se(&mut self) -> BitWriterRaw<'_, u32, C5CR_SPEC, SE_A, BitM, 16>
Bit 16 - Synchronization enable
pub fn ege(&mut self) -> BitWriterRaw<'_, u32, C5CR_SPEC, EGE_A, BitM, 9>
pub fn ege(&mut self) -> BitWriterRaw<'_, u32, C5CR_SPEC, EGE_A, BitM, 9>
Bit 9 - Event generation enable
pub fn soie(&mut self) -> BitWriterRaw<'_, u32, C5CR_SPEC, SOIE_A, BitM, 8>
pub fn soie(&mut self) -> BitWriterRaw<'_, u32, C5CR_SPEC, SOIE_A, BitM, 8>
Bit 8 - Synchronization overrun interrupt enable
pub fn dmareq_id(
&mut self
) -> FieldWriterRaw<'_, u32, C5CR_SPEC, u8, DMAREQ_ID_A, Unsafe, 8, 0>
pub fn dmareq_id( &mut self ) -> FieldWriterRaw<'_, u32, C5CR_SPEC, u8, DMAREQ_ID_A, Unsafe, 8, 0>
Bits 0:7 - DMA request identification
Methods from Deref<Target = W<C5CR_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§
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