Header for a CAN packet.
More...
#include <can.h>
|
|
uint8_t | type |
| | Packet type.
|
| |
|
uint8_t | length: 7 |
| | Length of the packet not including the header.
|
| |
|
uint8_t | fdf: 1 |
| | 1 for FD frames, 0 otherwise
|
| |
|
uint16_t | timestamp |
| | Timestamp for received packets.
|
| |
|
uint32_t | id: 29 |
| | CAN ID.
|
| |
|
uint8_t | rtr: 1 |
| | Indicates if the frame was a remote transmission request.
|
| |
|
uint8_t | xtd: 1 |
| | Indicates if the ID is an extended ID.
|
| |
|
uint8_t | esi: 1 |
| | Indicates if the transmitting node is error passive.
|
| |
The documentation for this struct was generated from the following file: