#[repr(transparent)]pub struct MacHwFeature0(pub u32);Expand description
F70RM Rev. 1 section 51.7.1.17; manual text line 150611.
Tuple Fields§
§0: u32Implementations§
Source§impl MacHwFeature0
impl MacHwFeature0
Sourcepub const fn miisel(&self) -> bool
pub const fn miisel(&self) -> bool
Read-only. 10 or 100 Mbps Support. This bit is set to 1 when 10/100 Mbps is selected as the Mode of Operation 0b - No 10 or 100 Mbps support 1b - 10 or 100 Mbps support
Sourcepub const fn set_miisel(&mut self, val: bool)
pub const fn set_miisel(&mut self, val: bool)
Read-only. 10 or 100 Mbps Support. This bit is set to 1 when 10/100 Mbps is selected as the Mode of Operation 0b - No 10 or 100 Mbps support 1b - 10 or 100 Mbps support
Sourcepub const fn gmiisel(&self) -> bool
pub const fn gmiisel(&self) -> bool
Read-only. 1000 Mbps Support. This bit is set to 1 when 1000 Mbps is selected as the Mode of Operation 0b - No 1000 Mbps support 1b - 1000 Mbps support
Sourcepub const fn set_gmiisel(&mut self, val: bool)
pub const fn set_gmiisel(&mut self, val: bool)
Read-only. 1000 Mbps Support. This bit is set to 1 when 1000 Mbps is selected as the Mode of Operation 0b - No 1000 Mbps support 1b - 1000 Mbps support
Sourcepub const fn hdsel(&self) -> bool
pub const fn hdsel(&self) -> bool
Read-only. Half-duplex Support. This bit is set to 1 when the half-duplex mode is selected 0b - No Half-duplex support 1b - Half-duplex support
Sourcepub const fn set_hdsel(&mut self, val: bool)
pub const fn set_hdsel(&mut self, val: bool)
Read-only. Half-duplex Support. This bit is set to 1 when the half-duplex mode is selected 0b - No Half-duplex support 1b - Half-duplex support
Sourcepub const fn pcssel(&self) -> bool
pub const fn pcssel(&self) -> bool
Read-only. PCS Registers (TBI, SGMII, or RTBI PHY interface). This bit is set to 1 when the TBI, SGMII, or RTBI PHY interface option is selected 0b - No PCS Registers (TBI, SGMII, or RTBI PHY interface) 1b - PCS Registers (TBI, SGMII, or RTBI PHY interface)
Sourcepub const fn set_pcssel(&mut self, val: bool)
pub const fn set_pcssel(&mut self, val: bool)
Read-only. PCS Registers (TBI, SGMII, or RTBI PHY interface). This bit is set to 1 when the TBI, SGMII, or RTBI PHY interface option is selected 0b - No PCS Registers (TBI, SGMII, or RTBI PHY interface) 1b - PCS Registers (TBI, SGMII, or RTBI PHY interface)
Sourcepub const fn vlhash(&self) -> bool
pub const fn vlhash(&self) -> bool
Read-only. VLAN Hash Filter Selected. This bit is set to 1 when the Enable VLAN Hash Table Based Filtering option is selected 0b - VLAN Hash Filter not selected 1b - VLAN Hash Filter selected
Sourcepub const fn set_vlhash(&mut self, val: bool)
pub const fn set_vlhash(&mut self, val: bool)
Read-only. VLAN Hash Filter Selected. This bit is set to 1 when the Enable VLAN Hash Table Based Filtering option is selected 0b - VLAN Hash Filter not selected 1b - VLAN Hash Filter selected
Sourcepub const fn smasel(&self) -> bool
pub const fn smasel(&self) -> bool
Read-only. SMA (MDIO) Interface. This bit is set to 1 when the Enable Station Management (MDIO Interface) option is selected 0b - SMA (MDIO) Interface not selected 1b - SMA (MDIO) Interface selected
Sourcepub const fn set_smasel(&mut self, val: bool)
pub const fn set_smasel(&mut self, val: bool)
Read-only. SMA (MDIO) Interface. This bit is set to 1 when the Enable Station Management (MDIO Interface) option is selected 0b - SMA (MDIO) Interface not selected 1b - SMA (MDIO) Interface selected
Sourcepub const fn rwksel(&self) -> bool
pub const fn rwksel(&self) -> bool
Read-only. PMT Remote Wake-up Packet Enable. This bit is set to 1 when the Enable Remote Wake-Up Packet Detection option is selected 0b - PMT Remote Wake-up Packet Enable option is not selected 1b - PMT Remote Wake-up Packet Enable option is selected
Sourcepub const fn set_rwksel(&mut self, val: bool)
pub const fn set_rwksel(&mut self, val: bool)
Read-only. PMT Remote Wake-up Packet Enable. This bit is set to 1 when the Enable Remote Wake-Up Packet Detection option is selected 0b - PMT Remote Wake-up Packet Enable option is not selected 1b - PMT Remote Wake-up Packet Enable option is selected
Sourcepub const fn mgksel(&self) -> bool
pub const fn mgksel(&self) -> bool
Read-only. PMT Magic Packet Enable. This bit is set to 1 when the Enable Magic Packet Detection option is selected 0b - PMT Magic Packet Enable option is not selected 1b - PMT Magic Packet Enable option is selected
Sourcepub const fn set_mgksel(&mut self, val: bool)
pub const fn set_mgksel(&mut self, val: bool)
Read-only. PMT Magic Packet Enable. This bit is set to 1 when the Enable Magic Packet Detection option is selected 0b - PMT Magic Packet Enable option is not selected 1b - PMT Magic Packet Enable option is selected
Sourcepub const fn mmcsel(&self) -> bool
pub const fn mmcsel(&self) -> bool
Read-only. RMON Module Enable. This bit is set to 1 when the Enable MAC Management Counters (MMC) option is selected 0b - RMON Module Enable option is not selected 1b - RMON Module Enable option is selected
Sourcepub const fn set_mmcsel(&mut self, val: bool)
pub const fn set_mmcsel(&mut self, val: bool)
Read-only. RMON Module Enable. This bit is set to 1 when the Enable MAC Management Counters (MMC) option is selected 0b - RMON Module Enable option is not selected 1b - RMON Module Enable option is selected
Sourcepub const fn arpoffsel(&self) -> bool
pub const fn arpoffsel(&self) -> bool
Read-only. ARP Offload Enabled. This bit is set to 1 when the Enable IPv4 ARP Offload option is selected 0b - ARP Offload Enable option is not selected 1b - ARP Offload Enable option is selected
Sourcepub const fn set_arpoffsel(&mut self, val: bool)
pub const fn set_arpoffsel(&mut self, val: bool)
Read-only. ARP Offload Enabled. This bit is set to 1 when the Enable IPv4 ARP Offload option is selected 0b - ARP Offload Enable option is not selected 1b - ARP Offload Enable option is selected
Sourcepub const fn tssel(&self) -> bool
pub const fn tssel(&self) -> bool
Read-only. IEEE 1588-2008 Timestamp Enabled. This bit is set to 1 when the Enable IEEE 1588 Timestamp Support option is selected 0b - IEEE 1588-2008 Timestamp Enable option is not selected 1b - IEEE 1588-2008 Timestamp Enable option is selected
Sourcepub const fn set_tssel(&mut self, val: bool)
pub const fn set_tssel(&mut self, val: bool)
Read-only. IEEE 1588-2008 Timestamp Enabled. This bit is set to 1 when the Enable IEEE 1588 Timestamp Support option is selected 0b - IEEE 1588-2008 Timestamp Enable option is not selected 1b - IEEE 1588-2008 Timestamp Enable option is selected
Sourcepub const fn txcoesel(&self) -> bool
pub const fn txcoesel(&self) -> bool
Read-only. Transmit Checksum Offload Enabled. This bit is set to 1 when the Enable Transmit TCP/IP Checksum Insertion option is selected 0b - Transmit Checksum Offload Enable option is not selected 1b - Transmit Checksum Offload Enable option is selected
Sourcepub const fn set_txcoesel(&mut self, val: bool)
pub const fn set_txcoesel(&mut self, val: bool)
Read-only. Transmit Checksum Offload Enabled. This bit is set to 1 when the Enable Transmit TCP/IP Checksum Insertion option is selected 0b - Transmit Checksum Offload Enable option is not selected 1b - Transmit Checksum Offload Enable option is selected
Sourcepub const fn rxcoesel(&self) -> bool
pub const fn rxcoesel(&self) -> bool
Read-only. Receive Checksum Offload Enabled. This bit is set to 1 when the Enable Receive TCP/IP Checksum Check option is selected 0b - Receive Checksum Offload Enable option is not selected 1b - Receive Checksum Offload Enable option is selected
Sourcepub const fn set_rxcoesel(&mut self, val: bool)
pub const fn set_rxcoesel(&mut self, val: bool)
Read-only. Receive Checksum Offload Enabled. This bit is set to 1 when the Enable Receive TCP/IP Checksum Check option is selected 0b - Receive Checksum Offload Enable option is not selected 1b - Receive Checksum Offload Enable option is selected
Sourcepub const fn addmacadrsel(&self) -> u8
pub const fn addmacadrsel(&self) -> u8
Read-only. MAC Addresses 1-31 Selected. This bit is set to 1 when the non-zero value is selected for Enable Additional 1-31 MAC Address EL Registers option
Sourcepub const fn set_addmacadrsel(&mut self, val: u8)
pub const fn set_addmacadrsel(&mut self, val: u8)
Read-only. MAC Addresses 1-31 Selected. This bit is set to 1 when the non-zero value is selected for Enable Additional 1-31 MAC Address EL Registers option
Sourcepub const fn macadr32sel(&self) -> bool
pub const fn macadr32sel(&self) -> bool
Read-only. MAC Addresses 32-63 Selected. This bit is set to 1 when the Enable Additional 32 MAC Address Registers (32-63) option is selected 0b - MAC Addresses 32-63 Select option is not selected 1b - MAC Addresses 32-63 Select option is selected
Sourcepub const fn set_macadr32sel(&mut self, val: bool)
pub const fn set_macadr32sel(&mut self, val: bool)
Read-only. MAC Addresses 32-63 Selected. This bit is set to 1 when the Enable Additional 32 MAC Address Registers (32-63) option is selected 0b - MAC Addresses 32-63 Select option is not selected 1b - MAC Addresses 32-63 Select option is selected
Sourcepub const fn macadr64sel(&self) -> bool
pub const fn macadr64sel(&self) -> bool
Read-only. MAC Addresses 64-127 Selected. This bit is set to 1 when the Enable Additional 64 MAC Address Registers (64-127) option is selected 0b - MAC Addresses 64-127 Select option is not selected 1b - MAC Addresses 64-127 Select option is selected
Sourcepub const fn set_macadr64sel(&mut self, val: bool)
pub const fn set_macadr64sel(&mut self, val: bool)
Read-only. MAC Addresses 64-127 Selected. This bit is set to 1 when the Enable Additional 64 MAC Address Registers (64-127) option is selected 0b - MAC Addresses 64-127 Select option is not selected 1b - MAC Addresses 64-127 Select option is selected
Sourcepub const fn tsstssel(&self) -> u8
pub const fn tsstssel(&self) -> u8
Read-only. Timestamp System Time Source. This bit indicates the source of the Timestamp System Time. This bit is set to 1 when the Enable IEEE 1588 Timestamp Support option is selected using the following values: 00b - Reserved 01b - Internal 10b - External 11b - Both
Sourcepub const fn set_tsstssel(&mut self, val: u8)
pub const fn set_tsstssel(&mut self, val: u8)
Read-only. Timestamp System Time Source. This bit indicates the source of the Timestamp System Time. This bit is set to 1 when the Enable IEEE 1588 Timestamp Support option is selected using the following values: 00b - Reserved 01b - Internal 10b - External 11b - Both
Sourcepub const fn savlanins(&self) -> bool
pub const fn savlanins(&self) -> bool
Read-only. Source Address or VLAN Insertion Enable. This bit is set to 1 when the Enable SA and VLAN Insertion on Tx option is selected 0b - Source Address or VLAN Insertion Enable option is not selected 1b - Source Address or VLAN Insertion Enable option is selected
Sourcepub const fn set_savlanins(&mut self, val: bool)
pub const fn set_savlanins(&mut self, val: bool)
Read-only. Source Address or VLAN Insertion Enable. This bit is set to 1 when the Enable SA and VLAN Insertion on Tx option is selected 0b - Source Address or VLAN Insertion Enable option is not selected 1b - Source Address or VLAN Insertion Enable option is selected
Sourcepub const fn actphysel(&self) -> u8
pub const fn actphysel(&self) -> u8
Read-only. Active PHY Selected. When you have multiple PHY interfaces in your configuration, this field indicates the sampled value of phy_intf_sel_i during reset de-assertion. 0000b - GMII or MII 0001b - Reserved 0010b - Reserved 0011b - Reserved 0100b - Reserved 0101b - Reserved 0110b - Reserved 0111b - Reserved 1000b - B10T1S
Sourcepub const fn set_actphysel(&mut self, val: u8)
pub const fn set_actphysel(&mut self, val: u8)
Read-only. Active PHY Selected. When you have multiple PHY interfaces in your configuration, this field indicates the sampled value of phy_intf_sel_i during reset de-assertion. 0000b - GMII or MII 0001b - Reserved 0010b - Reserved 0011b - Reserved 0100b - Reserved 0101b - Reserved 0110b - Reserved 0111b - Reserved 1000b - B10T1S
Trait Implementations§
Source§impl Clone for MacHwFeature0
impl Clone for MacHwFeature0
Source§fn clone(&self) -> MacHwFeature0
fn clone(&self) -> MacHwFeature0
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more