Mcan_Hal_TxEventFifoElementType
Module: HAL (AM13E230X) API / CAN HAL API
CAN Transmit Event FIFO Element Type. More…
#include <Mcan_Hal.h>
Public Attributes
Name |
|
|---|---|
MessageId |
|
UseExtendedID |
|
RTR |
|
ESI |
|
Timestamp |
|
DataLengthCode |
|
BitRateSwitching |
|
CanFdFormat |
|
EventType |
|
MessageMarker |
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.