[][src]Struct esp_idf_sys::can_status_info_t

#[repr(C)]
pub struct can_status_info_t {
    pub state: can_state_t,
    pub msgs_to_tx: u32,
    pub msgs_to_rx: u32,
    pub tx_error_counter: u32,
    pub rx_error_counter: u32,
    pub tx_failed_count: u32,
    pub rx_missed_count: u32,
    pub arb_lost_count: u32,
    pub bus_error_count: u32,
}

@brief Structure to store status information of CAN driver

Fields

state: can_state_t

< Current state of CAN controller (Stopped/Running/Bus-Off/Recovery)

msgs_to_tx: u32

< Number of messages queued for transmission or awaiting transmission completion

msgs_to_rx: u32

< Number of messages in RX queue waiting to be read

tx_error_counter: u32

< Current value of Transmit Error Counter

rx_error_counter: u32

< Current value of Receive Error Counter

tx_failed_count: u32

< Number of messages that failed transmissions

rx_missed_count: u32

< Number of messages that were lost due to a full RX queue

arb_lost_count: u32

< Number of instances arbitration was lost

bus_error_count: u32

< Number of instances a bus error has occurred

Trait Implementations

impl Debug for can_status_info_t[src]

impl Copy for can_status_info_t[src]

impl Clone for can_status_info_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]