pub struct W(/* private fields */);
Expand description
Register MACPMTCSR
writer
Implementations§
source§impl W
impl W
sourcepub fn pd(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, PD_A, BitM, 0>
pub fn pd(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, PD_A, BitM, 0>
Bit 0 - Power down
sourcepub fn mpe(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, MPE_A, BitM, 1>
pub fn mpe(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, MPE_A, BitM, 1>
Bit 1 - Magic packet enable
sourcepub fn wfe(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, WFE_A, BitM, 2>
pub fn wfe(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, WFE_A, 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, GU_A, BitM, 9>
pub fn gu(&mut self) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, GU_A, BitM, 9>
Bit 9 - Global unicast
sourcepub fn wffrpr(
&mut self
) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, WFFRPR_A, BitM, 31>
pub fn wffrpr( &mut self ) -> BitWriterRaw<'_, u32, MACPMTCSR_SPEC, WFFRPR_A, 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.
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