Receive frame container returned to RX callbacks. More...
#include <can.h>
Data Fields | |
| union { | |
| can_rx_classic_header_t classic | |
| can_rx_fd_header_t fd | |
| uint32_t raw [CAN_RX_HEADER_RAW_WORDS] | |
| } | header |
| uint8_t | data [CAN_MAX_DATA_LENGTH] |
| uint8_t | reserved [CAN_RX_DESCRIPTOR_RESERVED_BYTES] |
Receive frame container returned to RX callbacks.
| can_rx_classic_header_t can_rx_frame_t::classic |
Classical CAN header
| can_rx_fd_header_t can_rx_frame_t::fd |
CAN FD header
| uint32_t can_rx_frame_t::raw[CAN_RX_HEADER_RAW_WORDS] |
Debug/raw descriptor access only
| uint8_t can_rx_frame_t::data[CAN_MAX_DATA_LENGTH] |
Frame data payload
| uint8_t can_rx_frame_t::reserved[CAN_RX_DESCRIPTOR_RESERVED_BYTES] |
Reserved for cache-line aligned descriptor arrays