Data Fields
CANFD_MCANProtocolStatus_t Struct Reference

Data structure defines the MCAN protocol status. More...

#include <drivers/canfd/canfd.h>

Data Fields

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
 

Detailed Description

Data structure defines the MCAN protocol status.

Field Documentation

uint32_t CANFD_MCANProtocolStatus_t::act

Activity - Monitors the module's CAN communication state. refer enum CANFD_MCANCommState

uint32_t CANFD_MCANProtocolStatus_t::busOffStatus

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

uint32_t CANFD_MCANProtocolStatus_t::dlec

Data Phase Last Error Code Refer enum CANFD_MCANErrCode

uint32_t CANFD_MCANProtocolStatus_t::errPassive

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

uint32_t CANFD_MCANProtocolStatus_t::lastErrCode

Last Error Code Refer enum CANFD_MCANErrCode

uint32_t CANFD_MCANProtocolStatus_t::pxe

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

uint32_t CANFD_MCANProtocolStatus_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

uint32_t CANFD_MCANProtocolStatus_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

uint32_t CANFD_MCANProtocolStatus_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

uint32_t CANFD_MCANProtocolStatus_t::tdcv

Transmitter Delay Compensation Value

uint32_t CANFD_MCANProtocolStatus_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


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

Copyright 2020, Texas Instruments Incorporated