pub struct W(_);
Expand description
Register RGCR%s
writer
Implementations
sourceimpl W
impl W
sourcepub fn sig_id(
&mut self
) -> FieldWriterRaw<'_, u32, RGCR_SPEC, u8, SIG_ID_A, Unsafe, 5, 0>
pub fn sig_id(
&mut self
) -> FieldWriterRaw<'_, u32, RGCR_SPEC, u8, SIG_ID_A, Unsafe, 5, 0>
Bits 0:4 - DMA request trigger input selected
sourcepub fn oie(&mut self) -> BitWriterRaw<'_, u32, RGCR_SPEC, OIE_A, BitM, 8>
pub fn oie(&mut self) -> BitWriterRaw<'_, u32, RGCR_SPEC, OIE_A, BitM, 8>
Bit 8 - Interrupt enable at trigger event overrun
sourcepub fn ge(&mut self) -> BitWriterRaw<'_, u32, RGCR_SPEC, GE_A, BitM, 16>
pub fn ge(&mut self) -> BitWriterRaw<'_, u32, RGCR_SPEC, GE_A, BitM, 16>
Bit 16 - DMA request generator channel enable/disable
sourcepub fn gpol(
&mut self
) -> FieldWriterRaw<'_, u32, RGCR_SPEC, u8, GPOL_A, Safe, 2, 17>
pub fn gpol(
&mut self
) -> FieldWriterRaw<'_, u32, RGCR_SPEC, u8, GPOL_A, Safe, 2, 17>
Bits 17:18 - DMA request generator trigger event type selection Defines the trigger event on the selected DMA request trigger input
sourcepub fn gnbreq(
&mut self
) -> FieldWriterRaw<'_, u32, RGCR_SPEC, u8, u8, Safe, 5, 19>
pub fn gnbreq(
&mut self
) -> FieldWriterRaw<'_, u32, RGCR_SPEC, u8, u8, Safe, 5, 19>
Bits 19:23 - Number of DMA requests to generate Defines the number of DMA requests generated after a trigger event, then stop generating. The actual number of generated DMA requests is GNBREQ+1. Note: This field can only be written when GE bit is reset.
Methods from Deref<Target = W<RGCR_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