#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include "canmsg.h"
#include "lincan.h"
#include "can_driver.h"
Include dependency graph for can_lincan.c:
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) |
int canClose_driver | ( | CAN_HANDLE | fd0 | ) |
Definition at line 127 of file can_lincan.c.
CAN_HANDLE canOpen_driver | ( | s_BOARD * | board | ) |
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.