nico@215: nico@215: nico@215: CanFestival: drivers/can_peak_linux/can_peak_linux.c File Reference nico@215: nico@215: nico@215: nico@215: nico@215:
nico@215:
nico@215:
nico@215:
nico@215: nico@215:

can_peak_linux.c File Reference

#include <stdio.h>
nico@215: #include <string.h>
nico@215: #include <errno.h>
nico@215: #include <fcntl.h>
nico@215: #include "libpcan.h"
nico@215: #include "can_driver.h"
nico@215: nico@215:

nico@215: Include dependency graph for can_peak_linux.c:

nico@215: etisserant@240: etisserant@240: etisserant@240: nico@215: nico@215: nico@215:

nico@215: Go to the source code of this file. nico@215: nico@215: etisserant@240: nico@215: nico@215: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: nico@215: nico@215:

Defines

#define CAN_INIT_TYPE_ST_RTR   MSGTYPE_STANDARD | MSGTYPE_RTR

Functions

UNS8 canReceive_driver (CAN_HANDLE fd0, Message *m)
UNS8 canSend_driver (CAN_HANDLE fd0, Message *m)
int TranslateBaudeRate (char *optarg)
CAN_HANDLE canOpen_driver (s_BOARD *board)
int canClose_driver (CAN_HANDLE fd0)
nico@215:


Define Documentation

etisserant@240: nico@215:
nico@215:
nico@215: nico@215: nico@215: nico@215: nico@215:
#define CAN_INIT_TYPE_ST_RTR   MSGTYPE_STANDARD | MSGTYPE_RTR
nico@215:
nico@215:
nico@215: nico@215:

nico@215: nico@215:

nico@215: Definition at line 37 of file can_peak_linux.c. nico@215:

nico@215: Referenced by canSend_driver(). nico@215:

nico@215:

nico@215:


Function Documentation

etisserant@240: nico@215:
nico@215:
nico@215: nico@215: nico@215: nico@215: etisserant@240: nico@215: nico@215: nico@215: nico@215: nico@215:
int canClose_driver (CAN_HANDLE  fd0  ) 
nico@215:
nico@215:
nico@215: nico@215:

nico@215: nico@215:

nico@215: Definition at line 129 of file can_peak_linux.c. nico@215:

nico@215:

etisserant@240: etisserant@240:

etisserant@240:
etisserant@240: etisserant@240: etisserant@240: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215:
CAN_HANDLE canOpen_driver (s_BOARD board  ) 
nico@215:
nico@215:
nico@215: nico@215:

nico@215: nico@215:

nico@215: Definition at line 104 of file can_peak_linux.c. nico@215:

nico@215: References struct_s_BOARD::baudrate, struct_s_BOARD::busname, and TranslateBaudeRate(). nico@215:

etisserant@240: Here is the call graph for this function:

etisserant@240: etisserant@240: nico@215: nico@215: nico@215:
nico@215:

etisserant@240: nico@215:

nico@215:
nico@215: nico@215: nico@215: nico@215: etisserant@240: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215:
UNS8 canReceive_driver (CAN_HANDLE  fd0,
Message m 
)
nico@215:
nico@215:
nico@215: nico@215:

nico@215: nico@215:

nico@215: Definition at line 40 of file can_peak_linux.c. nico@215:

nico@215: References Message::cob_id, Message::data, Message::len, Message::rtr, UNS8, and SHORT_CAN::w. nico@215:

nico@215:

etisserant@240: nico@215:

nico@215:
nico@215: nico@215: nico@215: nico@215: etisserant@240: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215:
UNS8 canSend_driver (CAN_HANDLE  fd0,
Message m 
)
nico@215:
nico@215:
nico@215: nico@215:

nico@215: nico@215:

nico@215: Definition at line 64 of file can_peak_linux.c. nico@215:

nico@215: References CAN_INIT_TYPE_ST_RTR, Message::data, Message::len, Message::rtr, and UNS8. nico@215:

nico@215:

etisserant@240: nico@215:

nico@215:
nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215:
int TranslateBaudeRate (char *  optarg  ) 
nico@215:
nico@215:
nico@215: nico@215:

nico@215: nico@215:

nico@215: Definition at line 89 of file can_peak_linux.c. nico@215:

nico@215: Referenced by canInit(), and canOpen_driver(). nico@215:

nico@215:

etisserant@240:


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