#[repr(transparent)]pub struct MacPmtControlStatus2(pub u32);Expand description
PMT Control and Status.
Tuple Fields§
§0: u32Implementations§
Source§impl MacPmtControlStatus2
impl MacPmtControlStatus2
Sourcepub const fn pwrdwn(&self) -> bool
pub const fn pwrdwn(&self) -> bool
Power Down. Raw bit values: false (0) = Disable: Power down is disabled.; true (1) = Enable: Power down is enabled.
Sourcepub const fn set_pwrdwn(&mut self, val: bool)
pub const fn set_pwrdwn(&mut self, val: bool)
Power Down. Raw bit values: false (0) = Disable: Power down is disabled.; true (1) = Enable: Power down is enabled.
Sourcepub const fn mgkpkten(&self) -> bool
pub const fn mgkpkten(&self) -> bool
Magic Packet Enable. Raw bit values: false (0) = Disable: Magic Packet is disabled.; true (1) = Enable: Magic Packet is enabled.
Sourcepub const fn set_mgkpkten(&mut self, val: bool)
pub const fn set_mgkpkten(&mut self, val: bool)
Magic Packet Enable. Raw bit values: false (0) = Disable: Magic Packet is disabled.; true (1) = Enable: Magic Packet is enabled.
Sourcepub const fn rwkpkten(&self) -> bool
pub const fn rwkpkten(&self) -> bool
Remote Wake-Up Packet Enable. Raw bit values: false (0) = Disable: Remote wake-up packet is disabled.; true (1) = Enable: Remote wake-up packet is enabled.
Sourcepub const fn set_rwkpkten(&mut self, val: bool)
pub const fn set_rwkpkten(&mut self, val: bool)
Remote Wake-Up Packet Enable. Raw bit values: false (0) = Disable: Remote wake-up packet is disabled.; true (1) = Enable: Remote wake-up packet is enabled.
Sourcepub const fn mgkprcvd(&self) -> bool
pub const fn mgkprcvd(&self) -> bool
Magic Packet Received. Raw bit values: false (0) = Inactive: No Magic packet is received.; true (1) = Active: Magic packet is received.
Sourcepub const fn set_mgkprcvd(&mut self, val: bool)
pub const fn set_mgkprcvd(&mut self, val: bool)
Magic Packet Received. Raw bit values: false (0) = Inactive: No Magic packet is received.; true (1) = Active: Magic packet is received.
Sourcepub const fn rwkprcvd(&self) -> bool
pub const fn rwkprcvd(&self) -> bool
Remote Wake-Up Packet Received. Raw bit values: false (0) = Inactive: Remote wake-up packet is received.; true (1) = Active: Remote wake-up packet is received.
Sourcepub const fn set_rwkprcvd(&mut self, val: bool)
pub const fn set_rwkprcvd(&mut self, val: bool)
Remote Wake-Up Packet Received. Raw bit values: false (0) = Inactive: Remote wake-up packet is received.; true (1) = Active: Remote wake-up packet is received.
Sourcepub const fn glblucast(&self) -> bool
pub const fn glblucast(&self) -> bool
Global Unicast. Raw bit values: false (0) = Disable: Global unicast is disabled.; true (1) = Enable: Global unicast is enabled.
Sourcepub const fn set_glblucast(&mut self, val: bool)
pub const fn set_glblucast(&mut self, val: bool)
Global Unicast. Raw bit values: false (0) = Disable: Global unicast is disabled.; true (1) = Enable: Global unicast is enabled.
Sourcepub const fn rwkpfe(&self) -> bool
pub const fn rwkpfe(&self) -> bool
Remote Wake-up Packet Forwarding Enable. Raw bit values: false (0) = Disable: Remote Wake-up Packet Forwarding is disabled.; true (1) = Enable: Remote Wake-up Packet Forwarding is enabled.
Sourcepub const fn set_rwkpfe(&mut self, val: bool)
pub const fn set_rwkpfe(&mut self, val: bool)
Remote Wake-up Packet Forwarding Enable. Raw bit values: false (0) = Disable: Remote Wake-up Packet Forwarding is disabled.; true (1) = Enable: Remote Wake-up Packet Forwarding is enabled.
Sourcepub const fn set_rwkptr(&mut self, val: u8)
pub const fn set_rwkptr(&mut self, val: u8)
Remote Wake-up FIFO Pointer.
Sourcepub const fn rwkfiltrst(&self) -> bool
pub const fn rwkfiltrst(&self) -> bool
Remote Wake-Up Packet Filter Register Pointer Reset. Raw bit values: false (0) = Disable: Remote Wake-Up Packet Filter Register Pointer is not Reset.; true (1) = Enable: Remote Wake-Up Packet Filter Register Pointer is Reset.
Sourcepub const fn set_rwkfiltrst(&mut self, val: bool)
pub const fn set_rwkfiltrst(&mut self, val: bool)
Remote Wake-Up Packet Filter Register Pointer Reset. Raw bit values: false (0) = Disable: Remote Wake-Up Packet Filter Register Pointer is not Reset.; true (1) = Enable: Remote Wake-Up Packet Filter Register Pointer is Reset.
Trait Implementations§
Source§impl Clone for MacPmtControlStatus2
impl Clone for MacPmtControlStatus2
Source§fn clone(&self) -> MacPmtControlStatus2
fn clone(&self) -> MacPmtControlStatus2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more