Struct stm32_hal2::pac::ethernet_mtl::mtltx_qdr::W
source · pub struct W(/* private fields */);
Expand description
Register MTLTxQDR
writer
Implementations§
source§impl W
impl W
sourcepub fn stxstsf(
&mut self
) -> FieldWriterRaw<'_, u32, MTLTXQDR_SPEC, u8, u8, Unsafe, 3, 20>
pub fn stxstsf( &mut self ) -> FieldWriterRaw<'_, u32, MTLTXQDR_SPEC, u8, u8, Unsafe, 3, 20>
Bits 20:22 - Number of Status Words in Tx Status FIFO of Queue
sourcepub fn ptxq(
&mut self
) -> FieldWriterRaw<'_, u32, MTLTXQDR_SPEC, u8, u8, Unsafe, 3, 16>
pub fn ptxq( &mut self ) -> FieldWriterRaw<'_, u32, MTLTXQDR_SPEC, u8, u8, Unsafe, 3, 16>
Bits 16:18 - Number of Packets in the Transmit Queue
sourcepub fn txstsfsts(
&mut self
) -> BitWriterRaw<'_, u32, MTLTXQDR_SPEC, bool, BitM, 5>
pub fn txstsfsts( &mut self ) -> BitWriterRaw<'_, u32, MTLTXQDR_SPEC, bool, BitM, 5>
Bit 5 - MTL Tx Status FIFO Full Status
sourcepub fn txqsts(&mut self) -> BitWriterRaw<'_, u32, MTLTXQDR_SPEC, bool, BitM, 4>
pub fn txqsts(&mut self) -> BitWriterRaw<'_, u32, MTLTXQDR_SPEC, bool, BitM, 4>
Bit 4 - MTL Tx Queue Not Empty Status
sourcepub fn twcsts(&mut self) -> BitWriterRaw<'_, u32, MTLTXQDR_SPEC, bool, BitM, 3>
pub fn twcsts(&mut self) -> BitWriterRaw<'_, u32, MTLTXQDR_SPEC, bool, BitM, 3>
Bit 3 - MTL Tx Queue Write Controller Status
sourcepub fn trcsts(
&mut self
) -> FieldWriterRaw<'_, u32, MTLTXQDR_SPEC, u8, u8, Unsafe, 2, 1>
pub fn trcsts( &mut self ) -> FieldWriterRaw<'_, u32, MTLTXQDR_SPEC, u8, u8, Unsafe, 2, 1>
Bits 1:2 - MTL Tx Queue Read Controller Status
sourcepub fn txqpaused(
&mut self
) -> BitWriterRaw<'_, u32, MTLTXQDR_SPEC, bool, BitM, 0>
pub fn txqpaused( &mut self ) -> BitWriterRaw<'_, u32, MTLTXQDR_SPEC, bool, BitM, 0>
Bit 0 - Transmit Queue in Pause
Methods from Deref<Target = W<MTLTXQDR_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§
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