Struct stm32f1xx_hal::pac::ethernet_mac::macpmtcsr::W
source · pub struct W(_);
Expand description
Register MACPMTCSR
writer
Implementations§
source§impl W
impl W
sourcepub fn pd(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 0>
pub fn pd(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 0>
Bit 0 - Power down
sourcepub fn mpe(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 1>
pub fn mpe(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 1>
Bit 1 - Magic Packet enable
sourcepub fn wfe(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 2>
pub fn wfe(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 2>
Bit 2 - Wakeup frame enable
sourcepub fn mpr(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 5>
pub fn mpr(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 5>
Bit 5 - Magic packet received
sourcepub fn wfr(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 6>
pub fn wfr(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 6>
Bit 6 - Wakeup frame received
sourcepub fn gu(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 9>
pub fn gu(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 9>
Bit 9 - Global unicast
sourcepub fn wffrpr(
&mut self
) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 31>
pub fn wffrpr(
&mut self
) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, bool, BitM, 31>
Bit 31 - Wakeup frame filter register pointer reset
Methods from Deref<Target = W<MACPMTCSR_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.