Struct daisy::pac::ethernet_dma::dmactx_cr::W
pub struct W(/* private fields */);
Expand description
Register DMACTxCR
writer
Implementations§
§impl W
impl W
pub fn st(&mut self) -> BitWriterRaw<'_, u32, DMACTXCR_SPEC, bool, BitM, 0>
pub fn st(&mut self) -> BitWriterRaw<'_, u32, DMACTXCR_SPEC, bool, BitM, 0>
Bit 0 - Start or Stop Transmission Command
pub fn osf(&mut self) -> BitWriterRaw<'_, u32, DMACTXCR_SPEC, bool, BitM, 4>
pub fn osf(&mut self) -> BitWriterRaw<'_, u32, DMACTXCR_SPEC, bool, BitM, 4>
Bit 4 - Operate on Second Packet
pub fn tse(&mut self) -> BitWriterRaw<'_, u32, DMACTXCR_SPEC, bool, BitM, 12>
pub fn tse(&mut self) -> BitWriterRaw<'_, u32, DMACTXCR_SPEC, bool, BitM, 12>
Bit 12 - TCP Segmentation Enabled
pub fn txpbl(
&mut self
) -> FieldWriterRaw<'_, u32, DMACTXCR_SPEC, u8, u8, Unsafe, 6, 16>
pub fn txpbl( &mut self ) -> FieldWriterRaw<'_, u32, DMACTXCR_SPEC, u8, u8, Unsafe, 6, 16>
Bits 16:21 - Transmit Programmable Burst Length
Methods from Deref<Target = W<DMACTXCR_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<DMACTXCR_SPEC>> for W
impl From<W<DMACTXCR_SPEC>> for W
§fn from(writer: W<DMACTXCR_SPEC>) -> W
fn from(writer: W<DMACTXCR_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