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

#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include "canmsg.h"
#include "lincan.h"
#include "can_driver.h"

Go to the source code of this file.

Functions

UNS8 canReceive_driver (CAN_HANDLE fd0, Message *m)
UNS8 canSend_driver (CAN_HANDLE fd0, Message *m)
CAN_HANDLE canOpen_driver (s_BOARD *board)
int canClose_driver (CAN_HANDLE fd0)


Function Documentation

int canClose_driver ( CAN_HANDLE  fd0  ) 

Definition at line 127 of file can_lincan.c.

CAN_HANDLE canOpen_driver ( s_BOARD board  ) 

Definition at line 95 of file can_lincan.c.

References struct_s_BOARD::busname.

UNS8 canReceive_driver ( CAN_HANDLE  fd0,
Message m 
)

Definition at line 34 of file can_lincan.c.

References Message::cob_id, canmsg_t::data, Message::data, canmsg_t::flags, canmsg_t::id, Message::len, canmsg_t::length, MSG_EXT, MSG_RTR, Message::rtr, and SHORT_CAN::w.

UNS8 canSend_driver ( CAN_HANDLE  fd0,
Message m 
)

Definition at line 66 of file can_lincan.c.

References Message::cob_id, Message::data, canmsg_t::data, canmsg_t::flags, canmsg_t::id, Message::len, canmsg_t::length, MSG_EXT, MSG_RTR, Message::rtr, and SHORT_CAN::w.


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