Struct stm32_hal2::pac::ethernet_mac::macecr::W
source · [−]pub struct W(_);
Expand description
Register MACECR
writer
Implementations
sourceimpl W
impl W
sourcepub fn gpsl(
&mut self
) -> FieldWriterRaw<'_, u32, MACECR_SPEC, u16, u16, Unsafe, 14, 0>
pub fn gpsl(
&mut self
) -> FieldWriterRaw<'_, u32, MACECR_SPEC, u16, u16, Unsafe, 14, 0>
Bits 0:13 - Giant Packet Size Limit
sourcepub fn dcrcc(&mut self) -> BitWriterRaw<'_, u32, MACECR_SPEC, bool, BitM, 16>
pub fn dcrcc(&mut self) -> BitWriterRaw<'_, u32, MACECR_SPEC, bool, BitM, 16>
Bit 16 - Disable CRC Checking for Received Packets
sourcepub fn spen(&mut self) -> BitWriterRaw<'_, u32, MACECR_SPEC, bool, BitM, 17>
pub fn spen(&mut self) -> BitWriterRaw<'_, u32, MACECR_SPEC, bool, BitM, 17>
Bit 17 - Slow Protocol Detection Enable
sourcepub fn usp(&mut self) -> BitWriterRaw<'_, u32, MACECR_SPEC, bool, BitM, 18>
pub fn usp(&mut self) -> BitWriterRaw<'_, u32, MACECR_SPEC, bool, BitM, 18>
Bit 18 - Unicast Slow Protocol Packet Detect
sourcepub fn eipgen(&mut self) -> BitWriterRaw<'_, u32, MACECR_SPEC, bool, BitM, 24>
pub fn eipgen(&mut self) -> BitWriterRaw<'_, u32, MACECR_SPEC, bool, BitM, 24>
Bit 24 - Extended Inter-Packet Gap Enable
Methods from Deref<Target = W<MACECR_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<MACECR_SPEC>> for W
impl From<W<MACECR_SPEC>> for W
sourcefn from(writer: W<MACECR_SPEC>) -> W
fn from(writer: W<MACECR_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