pub struct W(/* private fields */);
Expand description
Register DMABMR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn sr(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, SR_A, BitM, 0>
pub fn sr(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, SR_A, BitM, 0>
Bit 0 - Software reset
Sourcepub fn da(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, DA_A, BitM, 1>
pub fn da(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, DA_A, BitM, 1>
Bit 1 - DMA arbitration
Sourcepub fn dsl(
&mut self,
) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, u8, Safe, 5, 2>
pub fn dsl( &mut self, ) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, u8, Safe, 5, 2>
Bits 2:6 - Descriptor skip length
Sourcepub fn edfe(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, EDFE_A, BitM, 7>
pub fn edfe(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, EDFE_A, BitM, 7>
Bit 7 - Enhanced descriptor format enable
Sourcepub fn pbl(
&mut self,
) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, PBL_A, Unsafe, 6, 8>
pub fn pbl( &mut self, ) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, PBL_A, Unsafe, 6, 8>
Bits 8:13 - Programmable burst length
Sourcepub fn pm(
&mut self,
) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, PM_A, Safe, 2, 14>
pub fn pm( &mut self, ) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, PM_A, Safe, 2, 14>
Bits 14:15 - Rx-Tx priority ratio
Sourcepub fn fb(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, FB_A, BitM, 16>
pub fn fb(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, FB_A, BitM, 16>
Bit 16 - Fixed burst
Sourcepub fn rdp(
&mut self,
) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, RDP_A, Unsafe, 6, 17>
pub fn rdp( &mut self, ) -> FieldWriterRaw<'_, u32, DMABMR_SPEC, u8, RDP_A, Unsafe, 6, 17>
Bits 17:22 - Rx DMA PBL
Sourcepub fn usp(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, USP_A, BitM, 23>
pub fn usp(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, USP_A, BitM, 23>
Bit 23 - Use separate PBL
Sourcepub fn fpm(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, FPM_A, BitM, 24>
pub fn fpm(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, FPM_A, BitM, 24>
Bit 24 - 4xPBL mode
Sourcepub fn aab(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, AAB_A, BitM, 25>
pub fn aab(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, AAB_A, BitM, 25>
Bit 25 - Address-aligned beats
Sourcepub fn mb(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, MB_A, BitM, 26>
pub fn mb(&mut self) -> BitWriterRaw<'_, u32, DMABMR_SPEC, MB_A, BitM, 26>
Bit 26 - Mixed burst
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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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