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