|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
CAN bus status information structure. More...
#include <BaseCan.h>
Public Member Functions | |
| hf_can_status_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_failed_count |
| Failed transmission count. | |
| hf_u32_t | rx_missed_count |
| Missed reception count. | |
| bool | bus_off |
| Bus-off state. | |
| bool | error_warning |
| Error warning state. | |
| bool | error_passive |
| Error passive state. | |
| bool | canfd_enabled |
| CAN-FD mode is active. | |
| bool | canfd_brs_enabled |
| Bit Rate Switching is enabled. | |
| hf_u32_t | nominal_baudrate |
| Nominal bit rate (arbitration phase) | |
| hf_u32_t | data_baudrate |
| Data bit rate (data phase for CAN-FD) | |
| hf_u32_t | canfd_tx_count |
| Number of CAN-FD frames transmitted. | |
| hf_u32_t | canfd_rx_count |
| Number of CAN-FD frames received. | |
| hf_u32_t | brs_tx_count |
| Number of BRS frames transmitted. | |
| hf_u32_t | brs_rx_count |
| Number of BRS frames received. | |
| hf_u32_t | form_errors |
| CAN-FD form errors. | |
| hf_u32_t | stuff_errors |
| Stuff errors. | |
| hf_u32_t | crc_errors |
| CRC errors. | |
| hf_u32_t | bit_errors |
| Bit errors. | |
| hf_u32_t | ack_errors |
| Acknowledgment errors. | |
CAN bus status information structure.
Comprehensive status information for CAN bus monitoring and diagnostics.
|
inlinenoexcept |
| hf_u32_t hf_can_status_t::ack_errors |
Acknowledgment errors.
| hf_u32_t hf_can_status_t::bit_errors |
Bit errors.
| hf_u32_t hf_can_status_t::brs_rx_count |
Number of BRS frames received.
| hf_u32_t hf_can_status_t::brs_tx_count |
Number of BRS frames transmitted.
| bool hf_can_status_t::bus_off |
Bus-off state.
| bool hf_can_status_t::canfd_brs_enabled |
Bit Rate Switching is enabled.
| bool hf_can_status_t::canfd_enabled |
CAN-FD mode is active.
| hf_u32_t hf_can_status_t::canfd_rx_count |
Number of CAN-FD frames received.
| hf_u32_t hf_can_status_t::canfd_tx_count |
Number of CAN-FD frames transmitted.
| hf_u32_t hf_can_status_t::crc_errors |
CRC errors.
| hf_u32_t hf_can_status_t::data_baudrate |
Data bit rate (data phase for CAN-FD)
| bool hf_can_status_t::error_passive |
Error passive state.
| bool hf_can_status_t::error_warning |
Error warning state.
| hf_u32_t hf_can_status_t::form_errors |
CAN-FD form errors.
| hf_u32_t hf_can_status_t::nominal_baudrate |
Nominal bit rate (arbitration phase)
| hf_u32_t hf_can_status_t::rx_error_count |
Receive error counter.
| hf_u32_t hf_can_status_t::rx_missed_count |
Missed reception count.
| hf_u32_t hf_can_status_t::stuff_errors |
Stuff errors.
| hf_u32_t hf_can_status_t::tx_error_count |
Transmit error counter.
| hf_u32_t hf_can_status_t::tx_failed_count |
Failed transmission count.