#[repr(transparent)]pub struct MacHwFeature12(pub u32);Expand description
Hardware Features 1.
Tuple Fields§
§0: u32Implementations§
Source§impl MacHwFeature12
impl MacHwFeature12
Sourcepub const fn rxfifosize(&self) -> Rxfifosize
pub const fn rxfifosize(&self) -> Rxfifosize
MTL Receive FIFO Size.
Sourcepub const fn set_rxfifosize(&mut self, val: Rxfifosize)
pub const fn set_rxfifosize(&mut self, val: Rxfifosize)
MTL Receive FIFO Size.
Sourcepub const fn spram(&self) -> bool
pub const fn spram(&self) -> bool
Single Port RAM Enable. Raw bit values: false (0) = Inactive: Single Port RAM feature is not selected.; true (1) = Active: Single Port RAM feature is selected.
Sourcepub const fn set_spram(&mut self, val: bool)
pub const fn set_spram(&mut self, val: bool)
Single Port RAM Enable. Raw bit values: false (0) = Inactive: Single Port RAM feature is not selected.; true (1) = Active: Single Port RAM feature is selected.
Sourcepub const fn txfifosize(&self) -> Txfifosize
pub const fn txfifosize(&self) -> Txfifosize
MTL Transmit FIFO Size.
Sourcepub const fn set_txfifosize(&mut self, val: Txfifosize)
pub const fn set_txfifosize(&mut self, val: Txfifosize)
MTL Transmit FIFO Size.
Sourcepub const fn osten(&self) -> bool
pub const fn osten(&self) -> bool
One-Step Timestamping Enable. Raw bit values: false (0) = Inactive: One-Step Timestamping feature is not selected.; true (1) = Active: One-Step Timestamping feature is selected.
Sourcepub const fn set_osten(&mut self, val: bool)
pub const fn set_osten(&mut self, val: bool)
One-Step Timestamping Enable. Raw bit values: false (0) = Inactive: One-Step Timestamping feature is not selected.; true (1) = Active: One-Step Timestamping feature is selected.
Sourcepub const fn ptoen(&self) -> bool
pub const fn ptoen(&self) -> bool
PTP Offload Enable. Raw bit values: false (0) = Inactive: PTP Offload feature is not selected.; true (1) = Active: PTP Offload feature is selected.
Sourcepub const fn set_ptoen(&mut self, val: bool)
pub const fn set_ptoen(&mut self, val: bool)
PTP Offload Enable. Raw bit values: false (0) = Inactive: PTP Offload feature is not selected.; true (1) = Active: PTP Offload feature is selected.
Sourcepub const fn advthword(&self) -> bool
pub const fn advthword(&self) -> bool
IEEE 1588 High Word Register Enable. Raw bit values: false (0) = Inactive: IEEE 1588 High Word Register option is not selected.; true (1) = Active: IEEE 1588 High Word Register option is selected.
Sourcepub const fn set_advthword(&mut self, val: bool)
pub const fn set_advthword(&mut self, val: bool)
IEEE 1588 High Word Register Enable. Raw bit values: false (0) = Inactive: IEEE 1588 High Word Register option is not selected.; true (1) = Active: IEEE 1588 High Word Register option is selected.
Sourcepub const fn set_addr64(&mut self, val: Addr64)
pub const fn set_addr64(&mut self, val: Addr64)
Address Width.
Sourcepub const fn dcben(&self) -> bool
pub const fn dcben(&self) -> bool
DCB Feature Enable. Raw bit values: false (0) = Inactive: DCB Feature is not selected.; true (1) = Active: DCB Feature is selected.
Sourcepub const fn set_dcben(&mut self, val: bool)
pub const fn set_dcben(&mut self, val: bool)
DCB Feature Enable. Raw bit values: false (0) = Inactive: DCB Feature is not selected.; true (1) = Active: DCB Feature is selected.
Sourcepub const fn sphen(&self) -> bool
pub const fn sphen(&self) -> bool
Split Header Feature Enable. Raw bit values: false (0) = Inactive: Split Header Feature is not selected.; true (1) = Active: Split Header Feature is selected.
Sourcepub const fn set_sphen(&mut self, val: bool)
pub const fn set_sphen(&mut self, val: bool)
Split Header Feature Enable. Raw bit values: false (0) = Inactive: Split Header Feature is not selected.; true (1) = Active: Split Header Feature is selected.
Sourcepub const fn tsoen(&self) -> bool
pub const fn tsoen(&self) -> bool
TCP Segmentation Offload Enable. Raw bit values: false (0) = Inactive: TCP Segmentation Offload Feature is not selected.; true (1) = Active: TCP Segmentation Offload Feature is selected.
Sourcepub const fn set_tsoen(&mut self, val: bool)
pub const fn set_tsoen(&mut self, val: bool)
TCP Segmentation Offload Enable. Raw bit values: false (0) = Inactive: TCP Segmentation Offload Feature is not selected.; true (1) = Active: TCP Segmentation Offload Feature is selected.
Sourcepub const fn dbgmema(&self) -> bool
pub const fn dbgmema(&self) -> bool
DMA Debug Registers Enable. Raw bit values: false (0) = Inactive: DMA Debug Registers option is not selected.; true (1) = Active: DMA Debug Registers option is selected.
Sourcepub const fn set_dbgmema(&mut self, val: bool)
pub const fn set_dbgmema(&mut self, val: bool)
DMA Debug Registers Enable. Raw bit values: false (0) = Inactive: DMA Debug Registers option is not selected.; true (1) = Active: DMA Debug Registers option is selected.
Sourcepub const fn avsel(&self) -> bool
pub const fn avsel(&self) -> bool
AV Feature Enable. Raw bit values: false (0) = Inactive: AV Feature is not selected.; true (1) = Active: AV Feature is selected.
Sourcepub const fn set_avsel(&mut self, val: bool)
pub const fn set_avsel(&mut self, val: bool)
AV Feature Enable. Raw bit values: false (0) = Inactive: AV Feature is not selected.; true (1) = Active: AV Feature is selected.
Sourcepub const fn ravsel(&self) -> bool
pub const fn ravsel(&self) -> bool
Rx Side Only AV Feature Enable. Raw bit values: false (0) = Inactive: Rx Side Only AV Feature is not selected.; true (1) = Active: Rx Side Only AV Feature is selected.
Sourcepub const fn set_ravsel(&mut self, val: bool)
pub const fn set_ravsel(&mut self, val: bool)
Rx Side Only AV Feature Enable. Raw bit values: false (0) = Inactive: Rx Side Only AV Feature is not selected.; true (1) = Active: Rx Side Only AV Feature is selected.
Sourcepub const fn pouost(&self) -> bool
pub const fn pouost(&self) -> bool
One Step for PTP over UDP/IP Feature Enable. Raw bit values: false (0) = Inactive: One Step for PTP over UDP/IP Feature is not selected.; true (1) = Active: One Step for PTP over UDP/IP Feature is selected.
Sourcepub const fn set_pouost(&mut self, val: bool)
pub const fn set_pouost(&mut self, val: bool)
One Step for PTP over UDP/IP Feature Enable. Raw bit values: false (0) = Inactive: One Step for PTP over UDP/IP Feature is not selected.; true (1) = Active: One Step for PTP over UDP/IP Feature is selected.
Sourcepub const fn set_hashtblsz(&mut self, val: Hashtblsz)
pub const fn set_hashtblsz(&mut self, val: Hashtblsz)
Hash Table Size.
Sourcepub const fn set_l3l4fnum(&mut self, val: L3l4fnum)
pub const fn set_l3l4fnum(&mut self, val: L3l4fnum)
Total number of L3 or L4 Filters.
Trait Implementations§
Source§impl Clone for MacHwFeature12
impl Clone for MacHwFeature12
Source§fn clone(&self) -> MacHwFeature12
fn clone(&self) -> MacHwFeature12
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more