Struct stm32f4xx_hal::pac::ethernet_mac::macfcr::W
source · pub struct W(/* private fields */);
Expand description
Register MACFCR
writer
Implementations§
source§impl W
impl W
sourcepub fn fcb(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, FCB_A, BitM, 0>
pub fn fcb(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, FCB_A, BitM, 0>
Bit 0 - Flow control busy/back pressure activate
sourcepub fn tfce(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, TFCE_A, BitM, 1>
pub fn tfce(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, TFCE_A, BitM, 1>
Bit 1 - Transmit flow control enable
sourcepub fn rfce(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, RFCE_A, BitM, 2>
pub fn rfce(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, RFCE_A, BitM, 2>
Bit 2 - Receive flow control enable
sourcepub fn upfd(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, UPFD_A, BitM, 3>
pub fn upfd(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, UPFD_A, BitM, 3>
Bit 3 - Unicast pause frame detect
sourcepub fn plt(
&mut self
) -> FieldWriterRaw<'_, u32, MACFCR_SPEC, u8, PLT_A, Safe, 2, 4>
pub fn plt( &mut self ) -> FieldWriterRaw<'_, u32, MACFCR_SPEC, u8, PLT_A, Safe, 2, 4>
Bits 4:5 - Pause low threshold
sourcepub fn zqpd(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, ZQPD_A, BitM, 7>
pub fn zqpd(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, ZQPD_A, BitM, 7>
Bit 7 - Zero-quanta pause disable
Methods from Deref<Target = W<MACFCR_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