Struct stm32_hal2::pac::ethernet_dma::dmacsr::W
source · [−]pub struct W(_);
Expand description
Register DMACSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn reb(
&mut self
) -> FieldWriterRaw<'_, u32, DMACSR_SPEC, u8, u8, Unsafe, 3, 19>
pub fn reb(
&mut self
) -> FieldWriterRaw<'_, u32, DMACSR_SPEC, u8, u8, Unsafe, 3, 19>
Bits 19:21 - Rx DMA Error Bits
sourcepub fn teb(
&mut self
) -> FieldWriterRaw<'_, u32, DMACSR_SPEC, u8, u8, Unsafe, 3, 16>
pub fn teb(
&mut self
) -> FieldWriterRaw<'_, u32, DMACSR_SPEC, u8, u8, Unsafe, 3, 16>
Bits 16:18 - Tx DMA Error Bits
sourcepub fn nis(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 15>
pub fn nis(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 15>
Bit 15 - Normal Interrupt Summary
sourcepub fn ais(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 14>
pub fn ais(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 14>
Bit 14 - Abnormal Interrupt Summary
sourcepub fn cde(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 13>
pub fn cde(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 13>
Bit 13 - Context Descriptor Error
sourcepub fn fbe(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 12>
pub fn fbe(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 12>
Bit 12 - Fatal Bus Error
sourcepub fn eri(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 11>
pub fn eri(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 11>
Bit 11 - Early Receive Interrupt
sourcepub fn eti(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 10>
pub fn eti(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 10>
Bit 10 - Early Transmit Interrupt
sourcepub fn rwt(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 9>
pub fn rwt(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 9>
Bit 9 - Receive Watchdog Timeout
sourcepub fn rps(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 8>
pub fn rps(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 8>
Bit 8 - Receive Process Stopped
sourcepub fn rbu(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 7>
pub fn rbu(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 7>
Bit 7 - Receive Buffer Unavailable
sourcepub fn ri(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 6>
pub fn ri(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 6>
Bit 6 - Receive Interrupt
sourcepub fn tbu(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 2>
pub fn tbu(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 2>
Bit 2 - Transmit Buffer Unavailable
sourcepub fn tps(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 1>
pub fn tps(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 1>
Bit 1 - Transmit Process Stopped
sourcepub fn ti(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 0>
pub fn ti(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 0>
Bit 0 - Transmit Interrupt
Methods from Deref<Target = W<DMACSR_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
sourceimpl From<W<DMACSR_SPEC>> for W
impl From<W<DMACSR_SPEC>> for W
sourcefn from(writer: W<DMACSR_SPEC>) -> W
fn from(writer: W<DMACSR_SPEC>) -> W
Converts to this type from the input type.
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