DL_MCAN_ProtocolStatus

Module: Driverlib (AM13E232X) APIs / Driverlib MCAN API

Structure for MCAN protocol status.

#include <dl_mcan.h>

Public Attributes

Name

uint32_t

lastErrCode

uint32_t

act

uint32_t

errPassive

uint32_t

warningStatus

uint32_t

busOffStatus

uint32_t

dlec

uint32_t

resi

uint32_t

rbrs

uint32_t

rfdf

uint32_t

pxe

uint32_t

tdcv

Public Attributes Documentation

variable lastErrCode

uint32_t lastErrCode;

Last Error Code One of DL_MCAN_ERR_CODE

variable act

uint32_t act;

Activity - Monitors the module’s CAN communication state. One of DL_MCAN_COM_STATE

variable errPassive

uint32_t errPassive;

Error Passive 0 = The M_CAN is in the Error_Active state 1 = The M_CAN is in the Error_Passive state

variable warningStatus

uint32_t warningStatus;

Warning Status 0 = Both error counters are below the Error_Warning limit of 96 1 = At least one of error counter has reached the Error_Warning limit of 96

variable busOffStatus

uint32_t busOffStatus;

Bus_Off Status 0 = The M_CAN is not Bus_Off 1 = The M_CAN is in Bus_Off state

variable dlec

uint32_t dlec;

Data Phase Last Error Code One of DL_MCAN_ERR_CODE

variable resi

uint32_t resi;

ESI flag of last received CAN FD Message 0 = Last received CAN FD message did not have its ESI flag set 1 = Last received CAN FD message had its ESI flag set

variable rbrs

uint32_t rbrs;

BRS flag of last received CAN FD Message 0 = Last received CAN FD message did not have its BRS flag set 1 = TLast received CAN FD message had its BRS flag set

variable rfdf

uint32_t rfdf;

Received a CAN FD Message 0 = Since this bit was reset by the CPU, no CAN FD message has been received 1 = Message in CAN FD format with FDF flag set has been received

variable pxe

uint32_t pxe;

Protocol Exception Event 0 = No protocol exception event occurred since last read access 1 = Protocol exception event occurred

variable tdcv

uint32_t tdcv;

Transmitter Delay Compensation Value