Structure for MCAN Rx Buffer element.
Data Fields | |
uint32_t | id |
uint32_t | rtr |
uint32_t | xtd |
uint32_t | esi |
uint32_t | rxts |
uint32_t | dlc |
uint32_t | brs |
uint32_t | fdf |
uint32_t | fidx |
uint32_t | anmf |
uint8_t | data [MCAN_MAX_PAYLOAD_BYTES] |
uint32_t MCAN_RxBufElement::id |
Identifier
uint32_t MCAN_RxBufElement::rtr |
Remote Transmission Request 0 = Received frame is a data frame 1 = Received frame is a remote frame
uint32_t MCAN_RxBufElement::xtd |
Extended Identifier 0 = 11-bit standard identifier 1 = 29-bit extended identifier
uint32_t MCAN_RxBufElement::esi |
Error State Indicator 0 = Transmitting node is error active 1 = Transmitting node is error passive
uint32_t MCAN_RxBufElement::rxts |
Rx Timestamp
uint32_t MCAN_RxBufElement::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
uint32_t MCAN_RxBufElement::brs |
Bit Rat Switching 0 = Frame received without bit rate switching 1 = Frame received with bit rate switching
uint32_t MCAN_RxBufElement::fdf |
FD Format 0 = Standard frame format 1 = CAN FD frame format (new DLC-coding and CRC)
uint32_t MCAN_RxBufElement::fidx |
Filter Index
uint32_t MCAN_RxBufElement::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_RxBufElement::data[MCAN_MAX_PAYLOAD_BYTES] |
Data bytes. Only first dlc number of bytes are valid.