Struct Macpcsr
#[repr(transparent)]pub struct Macpcsr(pub u32);Expand description
PMT control status register
Tuple Fields§
§0: u32Implementations§
§impl Macpcsr
impl Macpcsr
pub const fn set_pwrdwn(&mut self, val: bool)
pub const fn set_pwrdwn(&mut self, val: bool)
Power Down
pub const fn set_mgkpkten(&mut self, val: bool)
pub const fn set_mgkpkten(&mut self, val: bool)
Magic Packet Enable
pub const fn set_rwkpkten(&mut self, val: bool)
pub const fn set_rwkpkten(&mut self, val: bool)
Remote wakeup Packet Enable
pub const fn set_mgkprcvd(&mut self, val: bool)
pub const fn set_mgkprcvd(&mut self, val: bool)
Magic Packet Received
pub const fn set_rwkprcvd(&mut self, val: bool)
pub const fn set_rwkprcvd(&mut self, val: bool)
Remote wakeup Packet Received
pub const fn set_glblucast(&mut self, val: bool)
pub const fn set_glblucast(&mut self, val: bool)
Global Unicast
pub const fn set_rwkpfe(&mut self, val: bool)
pub const fn set_rwkpfe(&mut self, val: bool)
Remote wakeup Packet Forwarding Enable
pub const fn set_rwkptr(&mut self, val: u8)
pub const fn set_rwkptr(&mut self, val: u8)
Remote wakeup FIFO Pointer
pub const fn rwkfiltrst(&self) -> bool
pub const fn rwkfiltrst(&self) -> bool
Remote wakeup Packet Filter Register Pointer Reset
pub const fn set_rwkfiltrst(&mut self, val: bool)
pub const fn set_rwkfiltrst(&mut self, val: bool)
Remote wakeup Packet Filter Register Pointer Reset
Trait Implementations§
impl Copy for Macpcsr
impl Eq for Macpcsr
impl StructuralPartialEq for Macpcsr
Auto Trait Implementations§
impl Freeze for Macpcsr
impl RefUnwindSafe for Macpcsr
impl Send for Macpcsr
impl Sync for Macpcsr
impl Unpin for Macpcsr
impl UnwindSafe for Macpcsr
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