Struct stm32_hal2::pac::ethernet_mac::macpcsr::W
source · pub struct W(/* private fields */);
Expand description
Register MACPCSR
writer
Implementations§
source§impl W
impl W
sourcepub fn pwrdwn(&mut self) -> BitWriterRaw<'_, u32, MACPCSR_SPEC, bool, BitM, 0>
pub fn pwrdwn(&mut self) -> BitWriterRaw<'_, u32, MACPCSR_SPEC, bool, BitM, 0>
Bit 0 - Power Down
sourcepub fn mgkpkten(&mut self) -> BitWriterRaw<'_, u32, MACPCSR_SPEC, bool, BitM, 1>
pub fn mgkpkten(&mut self) -> BitWriterRaw<'_, u32, MACPCSR_SPEC, bool, BitM, 1>
Bit 1 - Magic Packet Enable
sourcepub fn rwkpkten(&mut self) -> BitWriterRaw<'_, u32, MACPCSR_SPEC, bool, BitM, 2>
pub fn rwkpkten(&mut self) -> BitWriterRaw<'_, u32, MACPCSR_SPEC, bool, BitM, 2>
Bit 2 - Remote wakeup Packet Enable
sourcepub fn glblucast(
&mut self
) -> BitWriterRaw<'_, u32, MACPCSR_SPEC, bool, BitM, 9>
pub fn glblucast( &mut self ) -> BitWriterRaw<'_, u32, MACPCSR_SPEC, bool, BitM, 9>
Bit 9 - Global Unicast
sourcepub fn rwkpfe(&mut self) -> BitWriterRaw<'_, u32, MACPCSR_SPEC, bool, BitM, 10>
pub fn rwkpfe(&mut self) -> BitWriterRaw<'_, u32, MACPCSR_SPEC, bool, BitM, 10>
Bit 10 - Remote wakeup Packet Forwarding Enable
sourcepub fn rwkptr(
&mut self
) -> FieldWriterRaw<'_, u32, MACPCSR_SPEC, u8, u8, Unsafe, 5, 24>
pub fn rwkptr( &mut self ) -> FieldWriterRaw<'_, u32, MACPCSR_SPEC, u8, u8, Unsafe, 5, 24>
Bits 24:28 - Remote wakeup FIFO Pointer
sourcepub fn rwkfiltrst(
&mut self
) -> BitWriterRaw<'_, u32, MACPCSR_SPEC, bool, BitM, 31>
pub fn rwkfiltrst( &mut self ) -> BitWriterRaw<'_, u32, MACPCSR_SPEC, bool, BitM, 31>
Bit 31 - Remote wakeup Packet Filter Register Pointer Reset
Methods from Deref<Target = W<MACPCSR_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