HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
Loading...
Searching...
No Matches
hf_can_diagnostics_t Struct Reference

CAN diagnostics structure for detailed error analysis. More...

#include <BaseCan.h>

Public Member Functions

 hf_can_diagnostics_t () noexcept
 

Public Attributes

hf_u32_t tx_error_count
 Transmit error counter.
 
hf_u32_t rx_error_count
 Receive error counter.
 
hf_u32_t tx_queue_peak
 Peak TX queue usage.
 
hf_u32_t rx_queue_peak
 Peak RX queue usage.
 
hf_u32_t last_error_timestamp
 Timestamp of last error.
 
hf_u32_t controller_resets
 Number of controller resets.
 
hf_u32_t bus_load_percentage
 Current bus load percentage.
 
float bit_error_rate
 Bit error rate (errors/bits)
 

Detailed Description

CAN diagnostics structure for detailed error analysis.

Provides detailed diagnostic information for troubleshooting and monitoring CAN bus health and performance.

Constructor & Destructor Documentation

◆ hf_can_diagnostics_t()

hf_can_diagnostics_t::hf_can_diagnostics_t ( )
inlinenoexcept

Member Data Documentation

◆ bit_error_rate

float hf_can_diagnostics_t::bit_error_rate

Bit error rate (errors/bits)

◆ bus_load_percentage

hf_u32_t hf_can_diagnostics_t::bus_load_percentage

Current bus load percentage.

◆ controller_resets

hf_u32_t hf_can_diagnostics_t::controller_resets

Number of controller resets.

◆ last_error_timestamp

hf_u32_t hf_can_diagnostics_t::last_error_timestamp

Timestamp of last error.

◆ rx_error_count

hf_u32_t hf_can_diagnostics_t::rx_error_count

Receive error counter.

◆ rx_queue_peak

hf_u32_t hf_can_diagnostics_t::rx_queue_peak

Peak RX queue usage.

◆ tx_error_count

hf_u32_t hf_can_diagnostics_t::tx_error_count

Transmit error counter.

◆ tx_queue_peak

hf_u32_t hf_can_diagnostics_t::tx_queue_peak

Peak TX queue usage.


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