can_frame Struct Reference
[CAN Devices]


Detailed Description

Raw CAN frame.

Central structure for receiving and sending CAN frames.

Examples:

rtcan_rtt.c, rtcanrecv.c, and rtcansend.c.


Public Member Functions

uint8_t data[8] __attribute__ ((aligned(8)))
 Payload data bytes.

Data Fields

can_id_t can_id
 CAN ID of the frame.
uint8_t can_dlc
 Size of the payload in bytes.

Field Documentation

CAN ID of the frame.

See CAN ID flags for special bits.

Examples:
rtcan_rtt.c.


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

Generated on Tue Mar 8 13:02:09 2011 for Xenomai API by  doxygen 1.5.6