Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openmrn_arduino::esp32_twai_stats_t Struct Reference

TWAI Driver statistics. More...

#include <Esp32HardwareTwai.hxx>

Public Attributes

uint32_t rx_processed
 Number of frames have been removed from rx_buf and sent to the OpenMRN stack.
 
uint32_t rx_missed
 Number of frames frames that could not be sent to rx_buf.
 
uint32_t rx_discard
 Number of frames that were discarded that had too large of a DLC count.
 
uint32_t rx_lost
 Number of frames that were lost due to driver reset.
 
uint32_t rx_overrun
 Number of frames that were lost due to RX FIFO overrun.
 
uint32_t tx_processed
 Number of frames that have been sent to the twai_tx_queue by the OpenMRN stack successfully.
 
uint32_t tx_success
 Number of frames that have been transmitted successfully by the low-level TWAI driver.
 
uint32_t tx_failed
 Number of frames that have been could not be transmitted successfully by the low-level TWAI driver.
 
uint32_t arb_loss
 Number of arbitration losses that have been observed on the TWAI bus.
 
uint32_t bus_error
 Number of general bus errors that have been observed on the TWAI bus.
 

Detailed Description

TWAI Driver statistics.

Definition at line 54 of file Esp32HardwareTwai.hxx.

Member Data Documentation

◆ arb_loss

uint32_t openmrn_arduino::esp32_twai_stats_t::arb_loss

Number of arbitration losses that have been observed on the TWAI bus.

Definition at line 85 of file Esp32HardwareTwai.hxx.

◆ bus_error

uint32_t openmrn_arduino::esp32_twai_stats_t::bus_error

Number of general bus errors that have been observed on the TWAI bus.

Definition at line 88 of file Esp32HardwareTwai.hxx.

◆ rx_discard

uint32_t openmrn_arduino::esp32_twai_stats_t::rx_discard

Number of frames that were discarded that had too large of a DLC count.

Definition at line 64 of file Esp32HardwareTwai.hxx.

◆ rx_lost

uint32_t openmrn_arduino::esp32_twai_stats_t::rx_lost

Number of frames that were lost due to driver reset.

Definition at line 67 of file Esp32HardwareTwai.hxx.

◆ rx_missed

uint32_t openmrn_arduino::esp32_twai_stats_t::rx_missed

Number of frames frames that could not be sent to rx_buf.

Definition at line 61 of file Esp32HardwareTwai.hxx.

◆ rx_overrun

uint32_t openmrn_arduino::esp32_twai_stats_t::rx_overrun

Number of frames that were lost due to RX FIFO overrun.

Definition at line 70 of file Esp32HardwareTwai.hxx.

◆ rx_processed

uint32_t openmrn_arduino::esp32_twai_stats_t::rx_processed

Number of frames have been removed from rx_buf and sent to the OpenMRN stack.

Definition at line 58 of file Esp32HardwareTwai.hxx.

◆ tx_failed

uint32_t openmrn_arduino::esp32_twai_stats_t::tx_failed

Number of frames that have been could not be transmitted successfully by the low-level TWAI driver.

Definition at line 82 of file Esp32HardwareTwai.hxx.

◆ tx_processed

uint32_t openmrn_arduino::esp32_twai_stats_t::tx_processed

Number of frames that have been sent to the twai_tx_queue by the OpenMRN stack successfully.

Definition at line 74 of file Esp32HardwareTwai.hxx.

◆ tx_success

uint32_t openmrn_arduino::esp32_twai_stats_t::tx_success

Number of frames that have been transmitted successfully by the low-level TWAI driver.

Definition at line 78 of file Esp32HardwareTwai.hxx.


The documentation for this struct was generated from the following file: