Struct stm32f1xx_hal::pac::ethernet_dma::dmasr::W
source · pub struct W(_);
Expand description
Register DMASR
writer
Implementations§
source§impl W
impl W
sourcepub fn ts(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 0>
pub fn ts(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 0>
Bit 0 - Transmit status
sourcepub fn tpss(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 1>
pub fn tpss(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 1>
Bit 1 - Transmit process stopped status
sourcepub fn tbus(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 2>
pub fn tbus(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 2>
Bit 2 - Transmit buffer unavailable status
sourcepub fn tjts(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 3>
pub fn tjts(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 3>
Bit 3 - Transmit jabber timeout status
sourcepub fn ros(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 4>
pub fn ros(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 4>
Bit 4 - Receive overflow status
sourcepub fn tus(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 5>
pub fn tus(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 5>
Bit 5 - Transmit underflow status
sourcepub fn rs(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 6>
pub fn rs(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 6>
Bit 6 - Receive status
sourcepub fn rbus(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 7>
pub fn rbus(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 7>
Bit 7 - Receive buffer unavailable status
sourcepub fn rpss(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 8>
pub fn rpss(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 8>
Bit 8 - Receive process stopped status
sourcepub fn pwts(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 9>
pub fn pwts(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 9>
Bit 9 - Receive watchdog timeout status
sourcepub fn ets(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 10>
pub fn ets(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 10>
Bit 10 - Early transmit status
sourcepub fn fbes(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 13>
pub fn fbes(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 13>
Bit 13 - Fatal bus error status
sourcepub fn ers(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 14>
pub fn ers(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 14>
Bit 14 - Early receive status
sourcepub fn ais(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 15>
pub fn ais(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 15>
Bit 15 - Abnormal interrupt summary
sourcepub fn nis(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 16>
pub fn nis(&mut self) -> BitWriterRaw<'_, u32, DMASR_SPEC, bool, BitM, 16>
Bit 16 - Normal interrupt summary
Methods from Deref<Target = W<DMASR_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.