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 |
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.
uint32_t MCAN_RxBufElementNoCpy::id |
Identifier
uint16_t MCAN_RxBufElementNoCpy::rxts |
Rx Timestamp
uint8_t MCAN_RxBufElementNoCpy::rtr |
Remote Transmission Request 0 = Received frame is a data frame 1 = Received frame is a remote frame
uint8_t MCAN_RxBufElementNoCpy::xtd |
Extended Identifier 0 = 11-bit standard identifier 1 = 29-bit extended identifier
uint8_t MCAN_RxBufElementNoCpy::esi |
Error State Indicator 0 = Transmitting node is error active 1 = Transmitting node is error passive
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
uint8_t MCAN_RxBufElementNoCpy::brs |
Bit Rate Switching 0 = Frame received without bit rate switching 1 = Frame received with bit rate switching
uint8_t MCAN_RxBufElementNoCpy::fdf |
FD Format 0 = Standard frame format 1 = CAN FD frame format (new DLC-coding and CRC)
uint8_t MCAN_RxBufElementNoCpy::fidx |
Filter Index
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
uint8_t* MCAN_RxBufElementNoCpy::data |
Pointer to data. Must be word-aligned for best performance. Only first DLC number of bytes are valid.