|
simple-socket library 1.2.0
|
Structure to represent a CAN 2.0 Frame. More...
#include <CANFrame.h>
Public Member Functions | |
| operator const void * () const | |
| Constant Cast-Operator for use with sockets. | |
| operator void * () | |
| Cast-Operator for use with sockets. | |
| uint8_t & | operator[] (unsigned index) |
| Access to all data bytes. | |
Public Attributes | |
| uint8_t | _pad_ [3] |
| uint8_t | data [8] |
| uint8_t | dlc |
| can_id | id |
Structure to represent a CAN 2.0 Frame.
Definition at line 21 of file CANFrame.h.
|
inline |
Cast-Operator for use with sockets.
Definition at line 29 of file CANFrame.h.
|
inline |
Constant Cast-Operator for use with sockets.
Definition at line 32 of file CANFrame.h.
|
inline |
Access to all data bytes.
Definition at line 35 of file CANFrame.h.
| can_id NET::can_frame::id |
Definition at line 23 of file CANFrame.h.
| uint8_t NET::can_frame::dlc |
Definition at line 24 of file CANFrame.h.
| uint8_t NET::can_frame::_pad_[3] |
Definition at line 25 of file CANFrame.h.
| uint8_t NET::can_frame::data[8] |
Definition at line 26 of file CANFrame.h.