Struct stm32f1xx_hal::pac::ethernet_dma::dmabmr::W
source · pub struct W(_);
Expand description
Register DMABMR
writer
Implementations§
source§impl W
impl W
sourcepub fn sr(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, bool, BitM, 0>
pub fn sr(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, bool, BitM, 0>
Bit 0 - Software reset
sourcepub fn da(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, bool, BitM, 1>
pub fn da(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, bool, BitM, 1>
Bit 1 - DMA Arbitration
sourcepub fn dsl(
&mut self
) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, u8, Unsafe, 5, 2>
pub fn dsl(
&mut self
) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, u8, Unsafe, 5, 2>
Bits 2:6 - Descriptor skip length
sourcepub fn pbl(
&mut self
) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, u8, Unsafe, 6, 8>
pub fn pbl(
&mut self
) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, u8, Unsafe, 6, 8>
Bits 8:13 - Programmable burst length
sourcepub fn rtpr(
&mut self
) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, u8, Unsafe, 2, 14>
pub fn rtpr(
&mut self
) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, u8, Unsafe, 2, 14>
Bits 14:15 - Rx Tx priority ratio
sourcepub fn fb(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, bool, BitM, 16>
pub fn fb(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, bool, BitM, 16>
Bit 16 - Fixed burst
sourcepub fn rdp(
&mut self
) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, u8, Unsafe, 6, 17>
pub fn rdp(
&mut self
) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, u8, Unsafe, 6, 17>
Bits 17:22 - Rx DMA PBL
sourcepub fn usp(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, bool, BitM, 23>
pub fn usp(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, bool, BitM, 23>
Bit 23 - Use separate PBL
sourcepub fn fpm(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, bool, BitM, 24>
pub fn fpm(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, bool, BitM, 24>
Bit 24 - 4xPBL mode
sourcepub fn aab(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, bool, BitM, 25>
pub fn aab(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, bool, BitM, 25>
Bit 25 - Address-aligned beats
Methods from Deref<Target = W<DMABMR_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.