canmsg.h File Reference

#include <sys/time.h>
#include <sys/types.h>

Include dependency graph for canmsg.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  canmsg_t
struct  canfilt_t

Defines

#define CAN_MSG_VERSION_2
#define CAN_MSG_LENGTH   8
#define MSG_RTR   (1<<0)
#define MSG_OVR   (1<<1)
#define MSG_EXT   (1<<2)
#define MSG_LOCAL   (1<<3)
#define MSG_FILT_MASK_SHIFT   8
#define MSG_RTR_MASK   (MSG_RTR<<MSG_FILT_MASK_SHIFT)
#define MSG_EXT_MASK   (MSG_EXT<<MSG_FILT_MASK_SHIFT)
#define MSG_LOCAL_MASK   (MSG_LOCAL<<MSG_FILT_MASK_SHIFT)
#define MSG_PROCESSLOCAL   (MSG_OVR<<MSG_FILT_MASK_SHIFT)
#define MSG_ID_MASK   ((1l<<29)-1)

Typedefs

typedef timeval canmsg_tstamp_t
typedef unsigned long canmsg_id_t
typedef canmsg_t canmsg_t
typedef canfilt_t canfilt_t


Define Documentation

#define CAN_MSG_LENGTH   8

Definition at line 36 of file canmsg.h.

#define CAN_MSG_VERSION_2

Definition at line 33 of file canmsg.h.

#define MSG_EXT   (1<<2)

Definition at line 118 of file canmsg.h.

Referenced by canReceive_driver(), and canSend_driver().

#define MSG_EXT_MASK   (MSG_EXT<<MSG_FILT_MASK_SHIFT)

Definition at line 125 of file canmsg.h.

#define MSG_FILT_MASK_SHIFT   8

Definition at line 123 of file canmsg.h.

#define MSG_ID_MASK   ((1l<<29)-1)

Definition at line 130 of file canmsg.h.

#define MSG_LOCAL   (1<<3)

Definition at line 119 of file canmsg.h.

#define MSG_LOCAL_MASK   (MSG_LOCAL<<MSG_FILT_MASK_SHIFT)

Definition at line 126 of file canmsg.h.

#define MSG_OVR   (1<<1)

Definition at line 117 of file canmsg.h.

#define MSG_PROCESSLOCAL   (MSG_OVR<<MSG_FILT_MASK_SHIFT)

Definition at line 127 of file canmsg.h.

#define MSG_RTR   (1<<0)

Definition at line 116 of file canmsg.h.

Referenced by canReceive_driver(), and canSend_driver().

#define MSG_RTR_MASK   (MSG_RTR<<MSG_FILT_MASK_SHIFT)

Definition at line 124 of file canmsg.h.


Typedef Documentation

typedef struct canfilt_t canfilt_t

Definition at line 113 of file canmsg.h.

typedef unsigned long canmsg_id_t

Definition at line 42 of file canmsg.h.

typedef struct canmsg_t canmsg_t

Definition at line 83 of file canmsg.h.

typedef struct timeval canmsg_tstamp_t

Definition at line 40 of file canmsg.h.


Generated on Mon Jul 2 19:10:17 2007 for CanFestival by  doxygen 1.5.1