#[repr(transparent)]pub struct MtlRxq0MissedPacketOverflowCnt2(pub u32);Expand description
Queue 0 Missed Packet and Overflow Counter.
Tuple Fields§
§0: u32Implementations§
Source§impl MtlRxq0MissedPacketOverflowCnt2
impl MtlRxq0MissedPacketOverflowCnt2
Sourcepub const fn set_ovfpktcnt(&mut self, val: u16)
pub const fn set_ovfpktcnt(&mut self, val: u16)
Overflow Packet Counter.
Sourcepub const fn ovfcntovf(&self) -> bool
pub const fn ovfcntovf(&self) -> bool
Overflow Counter Overflow Bit. Raw bit values: false (0) = Inactive: Overflow Counter overflow not detected.; true (1) = Active: Overflow Counter overflow detected.
Sourcepub const fn set_ovfcntovf(&mut self, val: bool)
pub const fn set_ovfcntovf(&mut self, val: bool)
Overflow Counter Overflow Bit. Raw bit values: false (0) = Inactive: Overflow Counter overflow not detected.; true (1) = Active: Overflow Counter overflow detected.
Sourcepub const fn set_mispktcnt(&mut self, val: u16)
pub const fn set_mispktcnt(&mut self, val: u16)
Missed Packet Counter.
Sourcepub const fn miscntovf(&self) -> bool
pub const fn miscntovf(&self) -> bool
Missed Packet Counter Overflow Bit. Raw bit values: false (0) = Inactive: Missed Packet Counter overflow not detected.; true (1) = Active: Missed Packet Counter overflow detected.
Sourcepub const fn set_miscntovf(&mut self, val: bool)
pub const fn set_miscntovf(&mut self, val: bool)
Missed Packet Counter Overflow Bit. Raw bit values: false (0) = Inactive: Missed Packet Counter overflow not detected.; true (1) = Active: Missed Packet Counter overflow detected.
Trait Implementations§
Source§impl Clone for MtlRxq0MissedPacketOverflowCnt2
impl Clone for MtlRxq0MissedPacketOverflowCnt2
Source§fn clone(&self) -> MtlRxq0MissedPacketOverflowCnt2
fn clone(&self) -> MtlRxq0MissedPacketOverflowCnt2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for MtlRxq0MissedPacketOverflowCnt2
impl Default for MtlRxq0MissedPacketOverflowCnt2
Source§fn default() -> MtlRxq0MissedPacketOverflowCnt2
fn default() -> MtlRxq0MissedPacketOverflowCnt2
Source§impl PartialEq for MtlRxq0MissedPacketOverflowCnt2
impl PartialEq for MtlRxq0MissedPacketOverflowCnt2
Source§fn eq(&self, other: &MtlRxq0MissedPacketOverflowCnt2) -> bool
fn eq(&self, other: &MtlRxq0MissedPacketOverflowCnt2) -> bool
self and other values to be equal, and is used by ==.