|
CAN CoreX 2.3.1
Table-driven CAN, CAN FD, ISO-TP, network simulation, and bus monitoring library
|
Bus monitoring statistics. More...
#include <can_corex_bus.h>
Data Fields | |
| uint32_t | bus_off_count |
| Number of bus-off events. | |
| uint32_t | error_warning_count |
| Number of error warning events (TEC/REC > 96). | |
| uint32_t | error_passive_count |
| Number of error passive events (TEC/REC > 127). | |
| CCX_TIME_t | last_bus_off_time |
| Timestamp of last bus-off occurrence in base ticks. | |
| CCX_TIME_t | total_bus_off_duration |
| Cumulative time spent in bus-off state in base ticks. | |
| CCX_ErrorCounters_t | error_counters |
| Current TEC/REC values from hardware. | |
| CCX_ErrorCounters_t | peak_error_counters |
| Peak TEC/REC values since initialization. | |
Bus monitoring statistics.
Tracks detailed bus health metrics including error states and recovery attempts. Statistics are accumulated over the lifetime of the bus monitor.