Struct stm32_hal2::pac::ethernet_dma::dmamr::W
source · pub struct W(/* private fields */);
Expand description
Register DMAMR
writer
Implementations§
source§impl W
impl W
sourcepub fn intm(
&mut self
) -> FieldWriterRaw<'_, u32, DMAMR_SPEC, u8, u8, Unsafe, 2, 16>
pub fn intm( &mut self ) -> FieldWriterRaw<'_, u32, DMAMR_SPEC, u8, u8, Unsafe, 2, 16>
Bits 16:17 - Interrupt Mode
sourcepub fn pr(
&mut self
) -> FieldWriterRaw<'_, u32, DMAMR_SPEC, u8, u8, Unsafe, 3, 12>
pub fn pr( &mut self ) -> FieldWriterRaw<'_, u32, DMAMR_SPEC, u8, u8, Unsafe, 3, 12>
Bits 12:14 - Priority ratio
sourcepub fn txpr(&mut self) -> BitWriterRaw<'_, u32, DMAMR_SPEC, bool, BitM, 11>
pub fn txpr(&mut self) -> BitWriterRaw<'_, u32, DMAMR_SPEC, bool, BitM, 11>
Bit 11 - Transmit priority
sourcepub fn da(&mut self) -> BitWriterRaw<'_, u32, DMAMR_SPEC, bool, BitM, 1>
pub fn da(&mut self) -> BitWriterRaw<'_, u32, DMAMR_SPEC, bool, BitM, 1>
Bit 1 - DMA Tx or Rx Arbitration Scheme
sourcepub fn swr(&mut self) -> BitWriterRaw<'_, u32, DMAMR_SPEC, bool, BitM, 0>
pub fn swr(&mut self) -> BitWriterRaw<'_, u32, DMAMR_SPEC, bool, BitM, 0>
Bit 0 - Software Reset
Methods from Deref<Target = W<DMAMR_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