Struct stm32f1xx_hal::pac::ethernet_mac::macfcr::W
source · pub struct W(_);
Expand description
Register MACFCR
writer
Implementations§
source§impl W
impl W
sourcepub fn fcb_bpa(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, bool, BitM, 0>
pub fn fcb_bpa(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, bool, BitM, 0>
Bit 0 - Flow control busy/back pressure activate
sourcepub fn tfce(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, bool, BitM, 1>
pub fn tfce(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, bool, BitM, 1>
Bit 1 - Transmit flow control enable
sourcepub fn rfce(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, bool, BitM, 2>
pub fn rfce(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, bool, BitM, 2>
Bit 2 - Receive flow control enable
sourcepub fn upfd(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, bool, BitM, 3>
pub fn upfd(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, bool, BitM, 3>
Bit 3 - Unicast pause frame detect
sourcepub fn plt(
&mut self
) -> FieldWriterRaw<'_, u32, MACFCR_SPEC, u8, u8, Unsafe, 2, 4>
pub fn plt(
&mut self
) -> FieldWriterRaw<'_, u32, MACFCR_SPEC, u8, u8, Unsafe, 2, 4>
Bits 4:5 - Pause low threshold
sourcepub fn zqpd(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, bool, BitM, 7>
pub fn zqpd(&mut self) -> BitWriterRaw<'_, u32, MACFCR_SPEC, bool, 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.