MCAN Protocol Status. More...
#include <hpm_mcan_drv.h>
Data Fields | |
| uint8_t | tdc_val |
| mcan_activity_state_t | activity |
| mcan_last_err_code_t | last_error_code |
| bool | protocol_exception_evt_occurred |
| bool | canfd_msg_received |
| bool | brs_flag_set_in_last_rcv_canfd_msg |
| bool | esi_flag_set_in_last_rcv_canfd_msg |
| bool | in_bus_off_state |
| bool | in_warning_state |
| bool | in_error_passive_state |
MCAN Protocol Status.
| mcan_activity_state_t mcan_protocol_status::activity |
Current communication state
| bool mcan_protocol_status::brs_flag_set_in_last_rcv_canfd_msg |
Bitrate Switch bit is set in last received CANFD message
| bool mcan_protocol_status::canfd_msg_received |
CANFD message was received
| bool mcan_protocol_status::esi_flag_set_in_last_rcv_canfd_msg |
Error State Indicator bit is set in last received CANFD message
| bool mcan_protocol_status::in_bus_off_state |
Node is in bus-off state
| bool mcan_protocol_status::in_error_passive_state |
Node is in error passive state
| bool mcan_protocol_status::in_warning_state |
Node is in warning state
| mcan_last_err_code_t mcan_protocol_status::last_error_code |
Last Error code
| bool mcan_protocol_status::protocol_exception_evt_occurred |
Protocol Exception Event occurred
| uint8_t mcan_protocol_status::tdc_val |
Transmitter Delay Compensation Value