Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
CAN frame structure that is compatible with Linux. This is mainly used by Socket CAN code. More...
#include <can.h>
Data Fields | |
canid_t | can_id |
uint8_t | can_dlc |
uint8_t | data [8] |
CAN frame structure that is compatible with Linux. This is mainly used by Socket CAN code.
Used to pass CAN messages from userspace to the socket CAN and vice versa.
uint8_t can_frame::can_dlc |
The length of the message
canid_t can_frame::can_id |
32 bit CAN_ID + EFF/RTR/ERR flags
uint8_t can_frame::data[8] |
The message data