Struct stm32_hal2::pac::ethernet_dma::dmactx_cr::W
source · [−]pub struct W(_);
Expand description
Register DMACTxCR
writer
Implementations
sourceimpl W
impl W
sourcepub 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
sourcepub 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
sourcepub 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
sourcepub 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
Methods from Deref<Target = W<DMACTXCR_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<DMACTXCR_SPEC>> for W
impl From<W<DMACTXCR_SPEC>> for W
sourcefn from(writer: W<DMACTXCR_SPEC>) -> W
fn from(writer: W<DMACTXCR_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