#include <canapi.h>
Data Fields | |
| uchar | sof |
| The Start of Frame bit. | |
| struct { | |
| ushort identifier11bit | |
| 11 bit arbitration id of a CAN 2.0 frame | |
| uchar can20bframe::srr | |
| SRR bit. | |
| uchar can20bframe::ide | |
| IDE bit. | |
| ulong can20bframe::identifier18bit | |
| 18 bit arbitration id of a CAN 2.0 B frame | |
| uchar can20bframe::rtr | |
| The RTR bit. | |
| } | arbitration |
| The arbitration structure. | |
| struct { | |
| ushort r1 | |
| Reserved bit 1. | |
| ushort r0 | |
| Reserved bit 0. | |
| ushort dlc | |
| The 4 bit length of the payload. | |
| } | control |
| The control structure. | |
| uchar | data [8] |
| The data payload. | |
| struct { | |
| uint sequence | |
| The 15 bit CRC sequence. | |
| uchar can20bframe::delimeter | |
| Single bit at the end of the CRC. | |
| } | crc |
| The CRC structure. | |
| struct { | |
| uchar slot | |
| The single bit acknowledgement slot. | |
| uchar can20bframe::delimeter | |
| The single bit acknowledgement delimeter. | |
| } | ack |
| The acknowledgement structure. | |
| uchar | eof |
| 7 recessive bits at the end of the frame | |
| struct { | |
| struct { | |
| unsigned __int64 ts_sec | |
| CAN latched time in seconds of a frame. | |
| unsigned __int64 ts_nsec | |
| CAN latched time in nanoseconds of a frame. | |
| } ts | |
| The timestamp structure. | |
| uchar can20bframe::msgtype | |
| DATA/REMOTE/ERROR/Interframe Space. | |
| ushort can20bframe::isfake | |
| What part of the frame was faked. | |
| ulong can20bframe::txid | |
| Internal notion of the transmission ID. | |
| } | oob |
| The out of bounds structure. | |
Definition at line 91 of file canapi.h.
|
|
The 4 bit length of the payload.
|
|
|
11 bit arbitration id of a CAN 2.0 frame
|
|
|
Reserved bit 0.
|
|
|
Reserved bit 1.
|
|
|
The 15 bit CRC sequence.
|
|
|
The single bit acknowledgement slot.
|
|
|
The Start of Frame bit.
Definition at line 92 of file canapi.h. Referenced by can_can2raw(), and vector_canboardread(). |
|
|
The timestamp structure.
|
|
|
CAN latched time in nanoseconds of a frame.
|
|
|
CAN latched time in seconds of a frame.
|
1.4.4