#[repr(transparent)]pub struct MtlTxq0Underflow(pub u32);Expand description
F70RM Rev. 1 section 51.7.3.3; manual text line 154323.
Tuple Fields§
§0: u32Implementations§
Source§impl MtlTxq0Underflow
impl MtlTxq0Underflow
Sourcepub const fn uffrmcnt(&self) -> u16
pub const fn uffrmcnt(&self) -> u16
Read-only. Underflow Packet Counter. This field indicates the number of packets aborted by the controller because of Tx Queue Underflow. This counter is incremented each time the MAC aborts outgoing packet because of underflow. The counter is cleared 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_uffrmcnt(&mut self, val: u16)
pub const fn set_uffrmcnt(&mut self, val: u16)
Read-only. Underflow Packet Counter. This field indicates the number of packets aborted by the controller because of Tx Queue Underflow. This counter is incremented each time the MAC aborts outgoing packet because of underflow. The counter is cleared 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 ufcntovf(&self) -> bool
pub const fn ufcntovf(&self) -> bool
Read-only. Overflow Bit for Underflow Packet Counter. This bit is set every time the Tx queue Underflow Packet Counter field overflows, that is, it has crossed the maximum count. In such a scenario, the overflow packet counter is reset to all-zeros and this bit indicates that the rollover happened. Access restriction applies. Clears on read. Self-set to 1 on internal event. 0b - Overflow not detected for Underflow Packet Counter 1b - Overflow detected for Underflow Packet Counter
Sourcepub const fn set_ufcntovf(&mut self, val: bool)
pub const fn set_ufcntovf(&mut self, val: bool)
Read-only. Overflow Bit for Underflow Packet Counter. This bit is set every time the Tx queue Underflow Packet Counter field overflows, that is, it has crossed the maximum count. In such a scenario, the overflow packet counter is reset to all-zeros and this bit indicates that the rollover happened. Access restriction applies. Clears on read. Self-set to 1 on internal event. 0b - Overflow not detected for Underflow Packet Counter 1b - Overflow detected for Underflow Packet Counter
Trait Implementations§
Source§impl Clone for MtlTxq0Underflow
impl Clone for MtlTxq0Underflow
Source§fn clone(&self) -> MtlTxq0Underflow
fn clone(&self) -> MtlTxq0Underflow
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more