AM62Px MCU+ SDK  10.01.00
MCAN_ProtocolStatus Struct Reference

Detailed Description

Structure for MCAN protocol status.

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
 

Field Documentation

◆ lastErrCode

uint32_t MCAN_ProtocolStatus::lastErrCode

Last Error Code Refer enum MCAN_ErrCode

◆ act

uint32_t MCAN_ProtocolStatus::act

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

◆ errPassive

uint32_t MCAN_ProtocolStatus::errPassive

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

◆ warningStatus

uint32_t MCAN_ProtocolStatus::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

◆ busOffStatus

uint32_t MCAN_ProtocolStatus::busOffStatus

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

◆ dlec

uint32_t MCAN_ProtocolStatus::dlec

Data Phase Last Error Code Refer enum MCAN_ErrCode

◆ resi

uint32_t MCAN_ProtocolStatus::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

◆ rbrs

uint32_t MCAN_ProtocolStatus::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

◆ rfdf

uint32_t MCAN_ProtocolStatus::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

◆ pxe

uint32_t MCAN_ProtocolStatus::pxe

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

◆ tdcv

uint32_t MCAN_ProtocolStatus::tdcv

Transmitter Delay Compensation Value