Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

can20bframe Struct Reference
[CanStructures]

Representation of CAN 2.0B frame format. More...

#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.


Detailed Description

Representation of CAN 2.0B frame format.

Definition at line 91 of file canapi.h.


Field Documentation

ushort can20bframe::dlc
 

The 4 bit length of the payload.

Definition at line 103 of file canapi.h.

ushort can20bframe::identifier11bit
 

11 bit arbitration id of a CAN 2.0 frame

Definition at line 95 of file canapi.h.

ushort can20bframe::r0
 

Reserved bit 0.

Definition at line 103 of file canapi.h.

ushort can20bframe::r1
 

Reserved bit 1.

Definition at line 103 of file canapi.h.

uint can20bframe::sequence
 

The 15 bit CRC sequence.

Definition at line 111 of file canapi.h.

uchar can20bframe::slot
 

The single bit acknowledgement slot.

Definition at line 116 of file canapi.h.

uchar can20bframe::sof
 

The Start of Frame bit.

Definition at line 92 of file canapi.h.

Referenced by can_can2raw(), and vector_canboardread().

struct { ... } can20bframe::ts
 

The timestamp structure.

unsigned __int64 can20bframe::ts_nsec
 

CAN latched time in nanoseconds of a frame.

Definition at line 125 of file canapi.h.

unsigned __int64 can20bframe::ts_sec
 

CAN latched time in seconds of a frame.

Definition at line 125 of file canapi.h.


The documentation for this struct was generated from the following file:
Generated on Wed Feb 22 13:31:29 2006 for CANapi by  doxygen 1.4.4