#[repr(transparent)]pub struct MacExtConfiguration2(pub u32);Expand description
MAC Extended Configuration Register.
Tuple Fields§
§0: u32Implementations§
Source§impl MacExtConfiguration2
impl MacExtConfiguration2
Sourcepub const fn dcrcc(&self) -> bool
pub const fn dcrcc(&self) -> bool
Disable CRC Checking for Received Packets. Raw bit values: false (0) = Enable: CRC Checking is enabled.; true (1) = Disable: CRC Checking is disabled.
Sourcepub const fn set_dcrcc(&mut self, val: bool)
pub const fn set_dcrcc(&mut self, val: bool)
Disable CRC Checking for Received Packets. Raw bit values: false (0) = Enable: CRC Checking is enabled.; true (1) = Disable: CRC Checking is disabled.
Sourcepub const fn spen(&self) -> bool
pub const fn spen(&self) -> bool
Slow Protocol Detection Enable. Raw bit values: false (0) = Disable: Slow Protocol Detection is disabled.; true (1) = Enable: Slow Protocol Detection is enabled.
Sourcepub const fn set_spen(&mut self, val: bool)
pub const fn set_spen(&mut self, val: bool)
Slow Protocol Detection Enable. Raw bit values: false (0) = Disable: Slow Protocol Detection is disabled.; true (1) = Enable: Slow Protocol Detection is enabled.
Sourcepub const fn usp(&self) -> bool
pub const fn usp(&self) -> bool
Unicast Slow Protocol Packet Detect. Raw bit values: false (0) = Disable: Unicast Slow Protocol Packet Detection is disabled.; true (1) = Enable: Unicast Slow Protocol Packet Detection is enabled.
Sourcepub const fn set_usp(&mut self, val: bool)
pub const fn set_usp(&mut self, val: bool)
Unicast Slow Protocol Packet Detect. Raw bit values: false (0) = Disable: Unicast Slow Protocol Packet Detection is disabled.; true (1) = Enable: Unicast Slow Protocol Packet Detection is enabled.
Sourcepub const fn pdc(&self) -> bool
pub const fn pdc(&self) -> bool
Packet Duplication Control. Raw bit values: false (0) = Disable: Packet Duplication Control is disabled.; true (1) = Enable: Packet Duplication Control is enabled.
Sourcepub const fn set_pdc(&mut self, val: bool)
pub const fn set_pdc(&mut self, val: bool)
Packet Duplication Control. Raw bit values: false (0) = Disable: Packet Duplication Control is disabled.; true (1) = Enable: Packet Duplication Control is enabled.
Sourcepub const fn eipgen(&self) -> bool
pub const fn eipgen(&self) -> bool
Extended Inter-Packet Gap Enable. Raw bit values: false (0) = Disable: Extended Inter-Packet Gap is disabled.; true (1) = Enable: Extended Inter-Packet Gap is enabled.
Sourcepub const fn set_eipgen(&mut self, val: bool)
pub const fn set_eipgen(&mut self, val: bool)
Extended Inter-Packet Gap Enable. Raw bit values: false (0) = Disable: Extended Inter-Packet Gap is disabled.; true (1) = Enable: Extended Inter-Packet Gap is enabled.
Trait Implementations§
Source§impl Clone for MacExtConfiguration2
impl Clone for MacExtConfiguration2
Source§fn clone(&self) -> MacExtConfiguration2
fn clone(&self) -> MacExtConfiguration2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more