Struct daisy::pac::ethernet_dma::dmacsr::W
pub struct W(/* private fields */);
Expand description
Register DMACSR
writer
Implementations§
§impl W
impl W
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub 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
pub fn et(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 10>
pub fn et(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 10>
Bit 10 - Early Transmit Interrupt
pub fn er(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 11>
pub fn er(&mut self) -> BitWriterRaw<'_, u32, DMACSR_SPEC, bool, BitM, 11>
Bit 11 - Early Receive Interrupt
pub 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
pub 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
pub 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
pub 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
Methods from Deref<Target = W<DMACSR_SPEC>>§
pub 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§
§impl From<W<DMACSR_SPEC>> for W
impl From<W<DMACSR_SPEC>> for W
§fn from(writer: W<DMACSR_SPEC>) -> W
fn from(writer: W<DMACSR_SPEC>) -> W
Converts to this type from the input type.
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