#[repr(transparent)]pub struct MtlRxq0MissedPacketOverflowCnt(pub u32);Expand description
F70RM Rev. 1 section 51.7.3.7; manual text line 154817.
Tuple Fields§
§0: u32Implementations§
Source§impl MtlRxq0MissedPacketOverflowCnt
impl MtlRxq0MissedPacketOverflowCnt
Sourcepub const fn ovfpktcnt(&self) -> u16
pub const fn ovfpktcnt(&self) -> u16
Read-only. Overflow Packet Counter. This field indicates the number of packets discarded by the QoS controller because of Receive queue overflow. This counter is incremented each time the QoS controller discards an incoming packet because of overflow. This counter is reset when this register is read with mci_be_i[0] at 1’b1. Access restriction applies. Clears on read. Self-set to 1 on internal event.
Sourcepub const fn set_ovfpktcnt(&mut self, val: u16)
pub const fn set_ovfpktcnt(&mut self, val: u16)
Read-only. Overflow Packet Counter. This field indicates the number of packets discarded by the QoS controller because of Receive queue overflow. This counter is incremented each time the QoS controller discards an incoming packet because of overflow. This counter is reset when this register is read with mci_be_i[0] at 1’b1. Access restriction applies. Clears on read. Self-set to 1 on internal event.
Sourcepub const fn ovfcntovf(&self) -> bool
pub const fn ovfcntovf(&self) -> bool
Read-only. Overflow Counter Overflow Bit. When set, this bit indicates that the Rx Queue Overflow Packet Counter field crossed the maximum limit. Access restriction applies. Clears on read. Self-set to 1 on internal event. 0b - Overflow Counter overflow not detected 1b - Overflow Counter overflow detected
Sourcepub const fn set_ovfcntovf(&mut self, val: bool)
pub const fn set_ovfcntovf(&mut self, val: bool)
Read-only. Overflow Counter Overflow Bit. When set, this bit indicates that the Rx Queue Overflow Packet Counter field crossed the maximum limit. Access restriction applies. Clears on read. Self-set to 1 on internal event. 0b - Overflow Counter overflow not detected 1b - Overflow Counter overflow detected
Sourcepub const fn mispktcnt(&self) -> u16
pub const fn mispktcnt(&self) -> u16
Read-only. Missed Packet Counter. This field indicates the number of packets missed by the QoS controller because the application asserted ari_pkt_flush_i[] for this queue. This counter is reset when this register is read with mci_be_i[0] at 1b1. This counter is incremented by 1 when the DMA discards the packet because of buffer unavailability. Access restriction applies. Clears on read. Self-set to 1 on internal event.
Sourcepub const fn set_mispktcnt(&mut self, val: u16)
pub const fn set_mispktcnt(&mut self, val: u16)
Read-only. Missed Packet Counter. This field indicates the number of packets missed by the QoS controller because the application asserted ari_pkt_flush_i[] for this queue. This counter is reset when this register is read with mci_be_i[0] at 1b1. This counter is incremented by 1 when the DMA discards the packet because of buffer unavailability. Access restriction applies. Clears on read. Self-set to 1 on internal event.
Sourcepub const fn miscntovf(&self) -> bool
pub const fn miscntovf(&self) -> bool
Read-only. Missed Packet Counter Overflow Bit. When set, this bit indicates that the Rx Queue Missed Packet Counter crossed the maximum limit. Access restriction applies. Clears on read. Self-set to 1 on internal event. 0b - Missed Packet Counter overflow not detected 1b - Missed Packet Counter overflow detected
Sourcepub const fn set_miscntovf(&mut self, val: bool)
pub const fn set_miscntovf(&mut self, val: bool)
Read-only. Missed Packet Counter Overflow Bit. When set, this bit indicates that the Rx Queue Missed Packet Counter crossed the maximum limit. Access restriction applies. Clears on read. Self-set to 1 on internal event. 0b - Missed Packet Counter overflow not detected 1b - Missed Packet Counter overflow detected
Trait Implementations§
Source§impl Clone for MtlRxq0MissedPacketOverflowCnt
impl Clone for MtlRxq0MissedPacketOverflowCnt
Source§fn clone(&self) -> MtlRxq0MissedPacketOverflowCnt
fn clone(&self) -> MtlRxq0MissedPacketOverflowCnt
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for MtlRxq0MissedPacketOverflowCnt
impl Default for MtlRxq0MissedPacketOverflowCnt
Source§fn default() -> MtlRxq0MissedPacketOverflowCnt
fn default() -> MtlRxq0MissedPacketOverflowCnt
Source§impl PartialEq for MtlRxq0MissedPacketOverflowCnt
impl PartialEq for MtlRxq0MissedPacketOverflowCnt
Source§fn eq(&self, other: &MtlRxq0MissedPacketOverflowCnt) -> bool
fn eq(&self, other: &MtlRxq0MissedPacketOverflowCnt) -> bool
self and other values to be equal, and is used by ==.