Data Fields
MCAN_RxBufElementNoCpy Struct Reference

Structure for MCAN Rx 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
 
uint16_t rxts
 
uint8_t rtr
 
uint8_t xtd
 
uint8_t esi
 
uint8_t dlc
 
uint8_t brs
 
uint8_t fdf
 
uint8_t fidx
 
uint8_t anmf
 
uint8_t * data
 

Detailed Description

Structure for MCAN Rx 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_RxBufElementNoCpy::id

Identifier

§ rxts

uint16_t MCAN_RxBufElementNoCpy::rxts

Rx Timestamp

§ rtr

uint8_t MCAN_RxBufElementNoCpy::rtr

Remote Transmission Request
0 = Received frame is a data frame
1 = Received frame is a remote frame

§ xtd

uint8_t MCAN_RxBufElementNoCpy::xtd

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

§ esi

uint8_t MCAN_RxBufElementNoCpy::esi

Error State Indicator
0 = Transmitting node is error active
1 = Transmitting node is error passive

§ dlc

uint8_t MCAN_RxBufElementNoCpy::dlc

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

§ brs

uint8_t MCAN_RxBufElementNoCpy::brs

Bit Rate Switching
0 = Frame received without bit rate switching
1 = Frame received with bit rate switching

§ fdf

uint8_t MCAN_RxBufElementNoCpy::fdf

FD Format
0 = Standard frame format
1 = CAN FD frame format (new DLC-coding and CRC)

§ fidx

uint8_t MCAN_RxBufElementNoCpy::fidx

Filter Index

§ anmf

uint8_t MCAN_RxBufElementNoCpy::anmf

Accepted Non-matching Frame
0 = Received frame matching filter index FIDX
1 = Received frame did not match any Rx filter element

§ data

uint8_t* MCAN_RxBufElementNoCpy::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-2024, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale