pub struct W(/* private fields */);
Expand description
Register DMAOMR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn sr(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, SR_A, BitM, 1>
pub fn sr(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, SR_A, BitM, 1>
Bit 1 - Start/stop receive
Sourcepub fn osf(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, bool, BitM, 2>
pub fn osf(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, bool, BitM, 2>
Bit 2 - Operate on second frame
Sourcepub fn rtc(
&mut self,
) -> FieldWriterRaw<'_, u32, DMAOMR_SPEC, u8, RTC_A, Safe, 2, 3>
pub fn rtc( &mut self, ) -> FieldWriterRaw<'_, u32, DMAOMR_SPEC, u8, RTC_A, Safe, 2, 3>
Bits 3:4 - Receive threshold control
Sourcepub fn fugf(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, FUGF_A, BitM, 6>
pub fn fugf(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, FUGF_A, BitM, 6>
Bit 6 - Forward undersized good frames
Sourcepub fn fef(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, FEF_A, BitM, 7>
pub fn fef(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, FEF_A, BitM, 7>
Bit 7 - Forward error frames
Sourcepub fn st(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, ST_A, BitM, 13>
pub fn st(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, ST_A, BitM, 13>
Bit 13 - Start/stop transmission
Sourcepub fn ttc(
&mut self,
) -> FieldWriterRaw<'_, u32, DMAOMR_SPEC, u8, TTC_A, Safe, 3, 14>
pub fn ttc( &mut self, ) -> FieldWriterRaw<'_, u32, DMAOMR_SPEC, u8, TTC_A, Safe, 3, 14>
Bits 14:16 - Transmit threshold control
Sourcepub fn ftf(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, FTF_A, BitM, 20>
pub fn ftf(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, FTF_A, BitM, 20>
Bit 20 - Flush transmit FIFO
Sourcepub fn tsf(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, TSF_A, BitM, 21>
pub fn tsf(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, TSF_A, BitM, 21>
Bit 21 - Transmit store and forward
Sourcepub fn dfrf(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, bool, BitM, 24>
pub fn dfrf(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, bool, BitM, 24>
Bit 24 - Disable flushing of received frames
Sourcepub fn rsf(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, RSF_A, BitM, 25>
pub fn rsf(&mut self) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, RSF_A, BitM, 25>
Bit 25 - Receive store and forward
Sourcepub fn dtcefd(
&mut self,
) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, DTCEFD_A, BitM, 26>
pub fn dtcefd( &mut self, ) -> BitWriterRaw<'_, u32, DMAOMR_SPEC, DTCEFD_A, BitM, 26>
Bit 26 - Dropping of TCP/IP checksum error frames disable
Methods from Deref<Target = W<DMAOMR_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