Struct Machwf0r
#[repr(transparent)]pub struct Machwf0r(pub u32);Expand description
HW feature 0 register
Tuple Fields§
§0: u32Implementations§
§impl Machwf0r
impl Machwf0r
pub const fn set_miisel(&mut self, val: bool)
pub const fn set_miisel(&mut self, val: bool)
10 or 100 Mbps Support
pub const fn set_gmiisel(&mut self, val: bool)
pub const fn set_gmiisel(&mut self, val: bool)
1000 Mbps Support
pub const fn set_pcssel(&mut self, val: bool)
pub const fn set_pcssel(&mut self, val: bool)
PCS Registers (TBI, SGMII, or RTBI PHY interface)
pub const fn set_vlhash(&mut self, val: bool)
pub const fn set_vlhash(&mut self, val: bool)
VLAN Hash Filter Selected
pub const fn set_smasel(&mut self, val: bool)
pub const fn set_smasel(&mut self, val: bool)
SMA (MDIO) Interface
pub const fn set_rwksel(&mut self, val: bool)
pub const fn set_rwksel(&mut self, val: bool)
PMT Remote wake-up Packet Enable
pub const fn set_mgksel(&mut self, val: bool)
pub const fn set_mgksel(&mut self, val: bool)
PMT Magic Packet Enable
pub const fn set_mmcsel(&mut self, val: bool)
pub const fn set_mmcsel(&mut self, val: bool)
RMON Module Enable
pub const fn set_arpoffsel(&mut self, val: bool)
pub const fn set_arpoffsel(&mut self, val: bool)
ARP Offload Enabled
pub const fn set_eeesel(&mut self, val: bool)
pub const fn set_eeesel(&mut self, val: bool)
Energy Efficient Ethernet Enabled
pub const fn set_txcoesel(&mut self, val: bool)
pub const fn set_txcoesel(&mut self, val: bool)
Transmit Checksum Offload Enabled
pub const fn set_rxcoesel(&mut self, val: bool)
pub const fn set_rxcoesel(&mut self, val: bool)
Receive Checksum Offload Enabled
pub const fn addmacadrsel(&self) -> u8
pub const fn addmacadrsel(&self) -> u8
MAC Addresses 1-31 Selected
pub const fn set_addmacadrsel(&mut self, val: u8)
pub const fn set_addmacadrsel(&mut self, val: u8)
MAC Addresses 1-31 Selected
pub const fn macadr32sel(&self) -> bool
pub const fn macadr32sel(&self) -> bool
MAC Addresses 32-63 Selected
pub const fn set_macadr32sel(&mut self, val: bool)
pub const fn set_macadr32sel(&mut self, val: bool)
MAC Addresses 32-63 Selected
pub const fn macadr64sel(&self) -> bool
pub const fn macadr64sel(&self) -> bool
MAC Addresses 64-127 Selected
pub const fn set_macadr64sel(&mut self, val: bool)
pub const fn set_macadr64sel(&mut self, val: bool)
MAC Addresses 64-127 Selected
pub const fn set_tsstssel(&mut self, val: Tsstssel)
pub const fn set_tsstssel(&mut self, val: Tsstssel)
Timestamp System Time Source
pub const fn set_savlanins(&mut self, val: bool)
pub const fn set_savlanins(&mut self, val: bool)
Source Address or VLAN Insertion Enable
pub const fn actphysel(&self) -> Actphysel
pub const fn actphysel(&self) -> Actphysel
Active PHY Selected (bit 31 only on STM32H7Rx/7Sx and STM32H56x/57x)
pub const fn set_actphysel(&mut self, val: Actphysel)
pub const fn set_actphysel(&mut self, val: Actphysel)
Active PHY Selected (bit 31 only on STM32H7Rx/7Sx and STM32H56x/57x)
Trait Implementations§
impl Copy for Machwf0r
impl Eq for Machwf0r
impl StructuralPartialEq for Machwf0r
Auto Trait Implementations§
impl Freeze for Machwf0r
impl RefUnwindSafe for Machwf0r
impl Send for Machwf0r
impl Sync for Machwf0r
impl Unpin for Machwf0r
impl UnsafeUnpin for Machwf0r
impl UnwindSafe for Machwf0r
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