Data Fields
MCAN_TxBufElementNoCpy Struct Reference

Structure for MCAN Tx Buffer element which takes data as a pointer. Please note that as the data field is a pointer so wrong value for payload size passed from application will lead to data corruption. More...

#include <MCAN.h>

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
 
const uint8_t * data
 

Detailed Description

Structure for MCAN Tx Buffer element which takes data as a pointer. Please note that as the data field is a pointer so wrong value for payload size passed from application will lead to data corruption.

Field Documentation

§ id

uint32_t MCAN_TxBufElementNoCpy::id

Identifier

§ rtr

uint32_t MCAN_TxBufElementNoCpy::rtr

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

§ xtd

uint32_t MCAN_TxBufElementNoCpy::xtd

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

§ esi

uint32_t MCAN_TxBufElementNoCpy::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_TxBufElementNoCpy::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_TxBufElementNoCpy::brs

Bit Rate Switching 0 = CAN FD frame transmitted without bit rate switching 1 = CAN FD frame transmitted with bit rate switching

§ fdf

uint32_t MCAN_TxBufElementNoCpy::fdf

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

§ efc

uint32_t MCAN_TxBufElementNoCpy::efc

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

§ mm

uint32_t MCAN_TxBufElementNoCpy::mm

Message Marker

§ data

const uint8_t* MCAN_TxBufElementNoCpy::data

Pointer to data. Must be word-aligned for best performance. Only first DLC number of bytes are valid.


The documentation for this struct was generated from the following file:
© Copyright 1995-2023, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale