Mcan_Hal_TxEventFifoElementType

Module: HAL (AM13E232X) API / CAN HAL API

CAN Transmit Event FIFO Element Type. More…

#include <Mcan_Hal.h>

Public Attributes

Name

uint32

MessageId
Message Identifier (ID[28:0]; standard ID stored in [28:18])

boolean

UseExtendedID
Extended Identifier flag - FALSE for standard (11-bit), TRUE for extended (29-bit)

boolean

RTR
Remote Transmission Request flag.

boolean

ESI
Error State Indicator - TRUE if transmitting node was error passive.

uint16

Timestamp
Transmit Timestamp (TXTS[15:0])

uint8

DataLengthCode
Data Length Code - 0-8 for Classic CAN, 0-15 for CAN FD.

boolean

BitRateSwitching
Bit Rate Switching - TRUE if frame was transmitted with BRS.

boolean

CanFdFormat
CAN FD Frame - TRUE if frame was in CAN FD format.

uint8

EventType
Event Type (ET[1:0]): 0=Reserved, 1=Tx Event, 2=Tx in spite of cancellation, 3=Reserved.

uint8

MessageMarker
Message Marker [7:0] - application-specific marker copied from original TX buffer.

Detailed Description

struct Mcan_Hal_TxEventFifoElementType;

CAN Transmit Event FIFO Element Type.

Represents a single element read from the Tx Event FIFO, containing information about a transmitted message including timestamp, DLC, format, and event type. Maps to the E0/E1 words of the Tx Event FIFO element

Public Attributes Documentation

variable MessageId

uint32 MessageId;

Message Identifier (ID[28:0]; standard ID stored in [28:18])

variable UseExtendedID

boolean UseExtendedID;

Extended Identifier flag - FALSE for standard (11-bit), TRUE for extended (29-bit)

variable RTR

boolean RTR;

Remote Transmission Request flag.

variable ESI

boolean ESI;

Error State Indicator - TRUE if transmitting node was error passive.

variable Timestamp

uint16 Timestamp;

Transmit Timestamp (TXTS[15:0])

variable DataLengthCode

uint8 DataLengthCode;

Data Length Code - 0-8 for Classic CAN, 0-15 for CAN FD.

variable BitRateSwitching

boolean BitRateSwitching;

Bit Rate Switching - TRUE if frame was transmitted with BRS.

variable CanFdFormat

boolean CanFdFormat;

CAN FD Frame - TRUE if frame was in CAN FD format.

variable EventType

uint8 EventType;

Event Type (ET[1:0]): 0=Reserved, 1=Tx Event, 2=Tx in spite of cancellation, 3=Reserved.

variable MessageMarker

uint8 MessageMarker;

Message Marker [7:0] - application-specific marker copied from original TX buffer.