Struct stm32_metapac::eth::regs::Macpcsr
#[repr(transparent)]pub struct Macpcsr(pub u32);
Expand description
PMT control status register
Tuple Fields§
§0: u32
Implementations§
§impl Macpcsr
impl Macpcsr
pub fn set_pwrdwn(&mut self, val: bool)
pub fn set_pwrdwn(&mut self, val: bool)
Power Down
pub fn set_mgkpkten(&mut self, val: bool)
pub fn set_mgkpkten(&mut self, val: bool)
Magic Packet Enable
pub fn set_rwkpkten(&mut self, val: bool)
pub fn set_rwkpkten(&mut self, val: bool)
Remote wakeup Packet Enable
pub fn set_mgkprcvd(&mut self, val: bool)
pub fn set_mgkprcvd(&mut self, val: bool)
Magic Packet Received
pub fn set_rwkprcvd(&mut self, val: bool)
pub fn set_rwkprcvd(&mut self, val: bool)
Remote wakeup Packet Received
pub fn set_glblucast(&mut self, val: bool)
pub fn set_glblucast(&mut self, val: bool)
Global Unicast
pub fn set_rwkpfe(&mut self, val: bool)
pub fn set_rwkpfe(&mut self, val: bool)
Remote wakeup Packet Forwarding Enable
pub fn set_rwkptr(&mut self, val: u8)
pub 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 fn set_rwkfiltrst(&mut self, val: bool)
pub 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)