All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

Controller Area Network frame. More...

Detailed Description

Controller Area Network frame.

Definition at line 101 of file can.h.

#include <can.h>

Data Fields

canid_t can_id
 32 bit CAN_ID + EFF/RTR/ERR flags
 
union { 
 
   uint8_t   len 
 frame payload length in byte (0 . More...
 
   uint8_t   can_dlc 
 deprecated - see SocketCAN documentation More...
 
};  
 
uint8_t __pad
 padding
 
uint8_t __res0
 reserved / padding
 
uint8_t __res1
 reserved / padding
 
uint8_t data [CAN_MAX_DLEN]
 Frame data.
 

Field Documentation

◆ __pad

uint8_t can_frame::__pad

padding

Definition at line 107 of file can.h.

◆ __res0

uint8_t can_frame::__res0

reserved / padding

Definition at line 108 of file can.h.

◆ __res1

uint8_t can_frame::__res1

reserved / padding

Definition at line 109 of file can.h.

◆ can_dlc

uint8_t can_frame::can_dlc

deprecated - see SocketCAN documentation

Definition at line 105 of file can.h.

◆ can_id

canid_t can_frame::can_id

32 bit CAN_ID + EFF/RTR/ERR flags

Definition at line 102 of file can.h.

◆ data

uint8_t can_frame::data[CAN_MAX_DLEN]

Frame data.

Definition at line 111 of file can.h.

◆ len

uint8_t can_frame::len

frame payload length in byte (0 .

. CAN_MAX_DLEN)

Definition at line 104 of file can.h.


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