AM62Ax MCU+ SDK  10.01.00
MCAN_TxBufElement Struct Reference

Detailed Description

Structure for MCAN Tx Buffer element.

Data Fields

uint32_t id
 
uint32_t rtr
 
uint32_t xtd
 
uint32_t esi
 
uint32_t dlc
 
uint32_t brs
 
uint32_t fdf
 
uint32_t efc
 
uint32_t mm
 
uint8_t data [MCAN_MAX_PAYLOAD_BYTES]
 

Field Documentation

◆ id

uint32_t MCAN_TxBufElement::id

Identifier

◆ rtr

uint32_t MCAN_TxBufElement::rtr

Remote Transmission Request 0 = Transmit data frame 1 = Transmit remote frame

◆ xtd

uint32_t MCAN_TxBufElement::xtd

Extended Identifier 0 = 11-bit standard identifier 1 = 29-bit extended identifier

◆ esi

uint32_t MCAN_TxBufElement::esi

Error State Indicator 0 = ESI bit in CAN FD format depends only on error passive flag 1 = ESI bit in CAN FD format transmitted recessive

◆ dlc

uint32_t MCAN_TxBufElement::dlc

Data Length Code 0-8 = CAN + CAN FD: transmit frame has 0-8 data bytes 9-15 = CAN: transmit frame has 8 data bytes 9-15 = CAN FD: transmit frame has 12/16/20/24/32/48/64 data bytes

◆ brs

uint32_t MCAN_TxBufElement::brs

Bit Rat Switching 0 = CAN FD frames transmitted without bit rate switching 1 = CAN FD frames transmitted with bit rate switching

◆ fdf

uint32_t MCAN_TxBufElement::fdf

FD Format 0 = Frame transmitted in Classic CAN format 1 = Frame transmitted in CAN FD format

◆ efc

uint32_t MCAN_TxBufElement::efc

Event FIFO Control 0 = Don't store Tx events 1 = Store Tx events

◆ mm

uint32_t MCAN_TxBufElement::mm

Message Marker

◆ data

uint8_t MCAN_TxBufElement::data[MCAN_MAX_PAYLOAD_BYTES]

Data bytes. Only first dlc number of bytes are valid.