#[repr(transparent)]pub struct MacRxTxStatus2(pub u32);Expand description
Receive Transmit Status.
Tuple Fields§
§0: u32Implementations§
Source§impl MacRxTxStatus2
impl MacRxTxStatus2
Sourcepub const fn tjt(&self) -> bool
pub const fn tjt(&self) -> bool
Transmit Jabber Timeout. Raw bit values: false (0) = Inactive: No Transmit Jabber Timeout.; true (1) = Active: Transmit Jabber Timeout occurred.
Sourcepub const fn set_tjt(&mut self, val: bool)
pub const fn set_tjt(&mut self, val: bool)
Transmit Jabber Timeout. Raw bit values: false (0) = Inactive: No Transmit Jabber Timeout.; true (1) = Active: Transmit Jabber Timeout occurred.
Sourcepub const fn ncarr(&self) -> bool
pub const fn ncarr(&self) -> bool
No Carrier. Raw bit values: false (0) = Inactive: Carrier is present.; true (1) = Active: No carrier.
Sourcepub const fn set_ncarr(&mut self, val: bool)
pub const fn set_ncarr(&mut self, val: bool)
No Carrier. Raw bit values: false (0) = Inactive: Carrier is present.; true (1) = Active: No carrier.
Sourcepub const fn lcarr(&self) -> bool
pub const fn lcarr(&self) -> bool
Loss of Carrier. Raw bit values: false (0) = Inactive: Carrier is present.; true (1) = Active: Loss of carrier.
Sourcepub const fn set_lcarr(&mut self, val: bool)
pub const fn set_lcarr(&mut self, val: bool)
Loss of Carrier. Raw bit values: false (0) = Inactive: Carrier is present.; true (1) = Active: Loss of carrier.
Sourcepub const fn exdef(&self) -> bool
pub const fn exdef(&self) -> bool
Excessive Deferral. Raw bit values: false (0) = Inactive: No Excessive deferral.; true (1) = Active: Excessive deferral.
Sourcepub const fn set_exdef(&mut self, val: bool)
pub const fn set_exdef(&mut self, val: bool)
Excessive Deferral. Raw bit values: false (0) = Inactive: No Excessive deferral.; true (1) = Active: Excessive deferral.
Sourcepub const fn lcol(&self) -> bool
pub const fn lcol(&self) -> bool
Late Collision. Raw bit values: false (0) = Inactive: No collision.; true (1) = Active: Late collision is sensed.
Sourcepub const fn set_lcol(&mut self, val: bool)
pub const fn set_lcol(&mut self, val: bool)
Late Collision. Raw bit values: false (0) = Inactive: No collision.; true (1) = Active: Late collision is sensed.
Sourcepub const fn excol(&self) -> bool
pub const fn excol(&self) -> bool
Excessive Collisions. Raw bit values: false (0) = Inactive: No collision.; true (1) = Active: Excessive collision is sensed.
Sourcepub const fn set_excol(&mut self, val: bool)
pub const fn set_excol(&mut self, val: bool)
Excessive Collisions. Raw bit values: false (0) = Inactive: No collision.; true (1) = Active: Excessive collision is sensed.
Trait Implementations§
Source§impl Clone for MacRxTxStatus2
impl Clone for MacRxTxStatus2
Source§fn clone(&self) -> MacRxTxStatus2
fn clone(&self) -> MacRxTxStatus2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more