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