#[repr(transparent)]pub struct MacHwFeature32(pub u32);Expand description
Hardware Features 3.
Tuple Fields§
§0: u32Implementations§
Source§impl MacHwFeature32
impl MacHwFeature32
Sourcepub const fn cbtisel(&self) -> bool
pub const fn cbtisel(&self) -> bool
Queue/Channel based VLAN tag insertion on Tx Enable. Raw bit values: false (0) = Inactive: Enable Queue/Channel based VLAN tag insertion on Tx feature is not selected.; true (1) = Active: Enable Queue/Channel based VLAN tag insertion on Tx feature is selected.
Sourcepub const fn set_cbtisel(&mut self, val: bool)
pub const fn set_cbtisel(&mut self, val: bool)
Queue/Channel based VLAN tag insertion on Tx Enable. Raw bit values: false (0) = Inactive: Enable Queue/Channel based VLAN tag insertion on Tx feature is not selected.; true (1) = Active: Enable Queue/Channel based VLAN tag insertion on Tx feature is selected.
Sourcepub const fn dvlan(&self) -> bool
pub const fn dvlan(&self) -> bool
Double VLAN Tag Processing Selected. Raw bit values: false (0) = Inactive: Double VLAN option is not selected.; true (1) = Active: Double VLAN option is selected.
Sourcepub const fn set_dvlan(&mut self, val: bool)
pub const fn set_dvlan(&mut self, val: bool)
Double VLAN Tag Processing Selected. Raw bit values: false (0) = Inactive: Double VLAN option is not selected.; true (1) = Active: Double VLAN option is selected.
Sourcepub const fn pdupsel(&self) -> bool
pub const fn pdupsel(&self) -> bool
Broadcast/Multicast Packet Duplication. Raw bit values: false (0) = Inactive: Broadcast/Multicast Packet Duplication feature is not selected.; true (1) = Active: Broadcast/Multicast Packet Duplication feature is selected.
Sourcepub const fn set_pdupsel(&mut self, val: bool)
pub const fn set_pdupsel(&mut self, val: bool)
Broadcast/Multicast Packet Duplication. Raw bit values: false (0) = Inactive: Broadcast/Multicast Packet Duplication feature is not selected.; true (1) = Active: Broadcast/Multicast Packet Duplication feature is selected.
Sourcepub const fn frpsel(&self) -> bool
pub const fn frpsel(&self) -> bool
Flexible Receive Parser Selected. Raw bit values: false (0) = Inactive: Flexible Receive Parser feature is not selected.; true (1) = Active: Flexible Receive Parser feature is selected.
Sourcepub const fn set_frpsel(&mut self, val: bool)
pub const fn set_frpsel(&mut self, val: bool)
Flexible Receive Parser Selected. Raw bit values: false (0) = Inactive: Flexible Receive Parser feature is not selected.; true (1) = Active: Flexible Receive Parser feature is selected.
Sourcepub const fn estsel(&self) -> bool
pub const fn estsel(&self) -> bool
Enhancements to Scheduled Traffic Enable. Raw bit values: false (0) = Inactive: Enable Enhancements to Scheduling Traffic feature is not selected.; true (1) = Active: Enable Enhancements to Scheduling Traffic feature is selected.
Sourcepub const fn set_estsel(&mut self, val: bool)
pub const fn set_estsel(&mut self, val: bool)
Enhancements to Scheduled Traffic Enable. Raw bit values: false (0) = Inactive: Enable Enhancements to Scheduling Traffic feature is not selected.; true (1) = Active: Enable Enhancements to Scheduling Traffic feature is selected.
Sourcepub const fn set_estdep(&mut self, val: Estdep)
pub const fn set_estdep(&mut self, val: Estdep)
Depth of the Gate Control List.
Sourcepub const fn estwid(&self) -> Estwid
pub const fn estwid(&self) -> Estwid
Width of the Time Interval field in the Gate Control List.
Sourcepub const fn set_estwid(&mut self, val: Estwid)
pub const fn set_estwid(&mut self, val: Estwid)
Width of the Time Interval field in the Gate Control List.
Sourcepub const fn fpesel(&self) -> bool
pub const fn fpesel(&self) -> bool
Frame Preemption Enable. Raw bit values: false (0) = Inactive: Frame Preemption Enable feature is not selected.; true (1) = Active: Frame Preemption Enable feature is selected.
Sourcepub const fn set_fpesel(&mut self, val: bool)
pub const fn set_fpesel(&mut self, val: bool)
Frame Preemption Enable. Raw bit values: false (0) = Inactive: Frame Preemption Enable feature is not selected.; true (1) = Active: Frame Preemption Enable feature is selected.
Sourcepub const fn tbssel(&self) -> bool
pub const fn tbssel(&self) -> bool
Time Based Scheduling Enable. Raw bit values: false (0) = Inactive: Time Based Scheduling Enable feature is not selected.; true (1) = Active: Time Based Scheduling Enable feature is selected.
Sourcepub const fn set_tbssel(&mut self, val: bool)
pub const fn set_tbssel(&mut self, val: bool)
Time Based Scheduling Enable. Raw bit values: false (0) = Inactive: Time Based Scheduling Enable feature is not selected.; true (1) = Active: Time Based Scheduling Enable feature is selected.
Trait Implementations§
Source§impl Clone for MacHwFeature32
impl Clone for MacHwFeature32
Source§fn clone(&self) -> MacHwFeature32
fn clone(&self) -> MacHwFeature32
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more