Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
can_frame Struct Reference

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]
 

Detailed Description

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.

Field Documentation

◆ can_dlc

uint8_t can_frame::can_dlc

The length of the message

◆ can_id

canid_t can_frame::can_id

32 bit CAN_ID + EFF/RTR/ERR flags

◆ data

uint8_t can_frame::data[8]

The message data


The documentation for this struct was generated from the following file: