pub struct IrqCounters {
pub total: u32,
pub ri: u32,
pub ru: u32,
pub ti: u32,
pub tu: u32,
pub eri: u32,
pub err: u32,
pub last_dmastat: u32,
}Expand description
Diagnostic snapshot of the ISR counters.
Fields§
§total: u32Total number of times the ISR ran.
ri: u32RI (rx_complete) flag observed.
ru: u32RU (rx_buf_unavailable) flag observed.
ti: u32TI (tx_complete) flag observed.
tu: u32TU (tx_buf_unavailable) flag observed.
eri: u32ERI (early receive) flag observed.
err: u32At least one error flag observed (UNF/OVF/FBI).
last_dmastat: u32Last raw DMASTATUS snapshot taken in the ISR (before W1C).
Trait Implementations§
Source§impl Clone for IrqCounters
impl Clone for IrqCounters
Source§fn clone(&self) -> IrqCounters
fn clone(&self) -> IrqCounters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IrqCounters
impl Debug for IrqCounters
Source§impl Default for IrqCounters
impl Default for IrqCounters
Source§fn default() -> IrqCounters
fn default() -> IrqCounters
Returns the “default value” for a type. Read more
impl Copy for IrqCounters
Auto Trait Implementations§
impl Freeze for IrqCounters
impl RefUnwindSafe for IrqCounters
impl Send for IrqCounters
impl Sync for IrqCounters
impl Unpin for IrqCounters
impl UnsafeUnpin for IrqCounters
impl UnwindSafe for IrqCounters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more