/home/epimerde/documents/tc11/CanFestival-3/drivers/can_lincan/lincan.h File Reference

#include <sys/time.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include "./canmsg.h"

Go to the source code of this file.

Data Structures

struct  can_baudparams_t

Defines

#define CAN_IOC_MAGIC   'd'
#define CAN_DRV_QUERY   _IO(CAN_IOC_MAGIC, 0)
#define CAN_DRV_QRY_BRANCH   0
#define CAN_DRV_QRY_VERSION   1
#define CAN_DRV_QRY_MSGFORMAT   2
#define CMD_START   _IOW(CAN_IOC_MAGIC, 1, channel_t)
#define CMD_STOP   _IOW(CAN_IOC_MAGIC, 2, channel_t)
#define CONF_BAUD   _IOW(CAN_IOC_MAGIC, 4, bittiming_t)
#define CONF_FILTER   _IOW(CAN_IOC_MAGIC, 8, unsigned char)
#define STAT   _IO(CAN_IOC_MAGIC, 9)
#define CANQUE_FILTER   _IOW(CAN_IOC_MAGIC, 10, struct canfilt_t)
#define CANQUE_FLUSH   _IO(CAN_IOC_MAGIC, 11)
#define CONF_BAUDPARAMS   _IOW(CAN_IOC_MAGIC, 11, struct can_baudparams_t)
#define CANRTR_READ   _IOWR(CAN_IOC_MAGIC, 12, struct canmsg_t)

Typedefs

typedef unsigned long bittiming_t
typedef unsigned short channel_t


Define Documentation

#define CAN_DRV_QRY_BRANCH   0

Definition at line 58 of file lincan.h.

#define CAN_DRV_QRY_MSGFORMAT   2

Definition at line 60 of file lincan.h.

#define CAN_DRV_QRY_VERSION   1

Definition at line 59 of file lincan.h.

#define CAN_DRV_QUERY   _IO(CAN_IOC_MAGIC, 0)

Definition at line 57 of file lincan.h.

#define CAN_IOC_MAGIC   'd'

Definition at line 34 of file lincan.h.

#define CANQUE_FILTER   _IOW(CAN_IOC_MAGIC, 10, struct canfilt_t)

Definition at line 77 of file lincan.h.

#define CANQUE_FLUSH   _IO(CAN_IOC_MAGIC, 11)

Definition at line 78 of file lincan.h.

#define CANRTR_READ   _IOWR(CAN_IOC_MAGIC, 12, struct canmsg_t)

Definition at line 80 of file lincan.h.

#define CMD_START   _IOW(CAN_IOC_MAGIC, 1, channel_t)

Definition at line 62 of file lincan.h.

#define CMD_STOP   _IOW(CAN_IOC_MAGIC, 2, channel_t)

Definition at line 63 of file lincan.h.

#define CONF_BAUD   _IOW(CAN_IOC_MAGIC, 4, bittiming_t)

Definition at line 66 of file lincan.h.

#define CONF_BAUDPARAMS   _IOW(CAN_IOC_MAGIC, 11, struct can_baudparams_t)

Definition at line 79 of file lincan.h.

#define CONF_FILTER   _IOW(CAN_IOC_MAGIC, 8, unsigned char)

Definition at line 71 of file lincan.h.

#define STAT   _IO(CAN_IOC_MAGIC, 9)

Definition at line 76 of file lincan.h.


Typedef Documentation

typedef unsigned long bittiming_t

Definition at line 36 of file lincan.h.

typedef unsigned short channel_t

Definition at line 37 of file lincan.h.


Generated on Mon Jun 4 16:29:07 2007 for CanFestival by  doxygen 1.5.1