diff -r 003cc3c63855 -r f49e5a6b7804 doc/doxygen/html/can__peak__linux_8c.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/doxygen/html/can__peak__linux_8c.html Fri Jun 08 09:23:56 2007 +0200 @@ -0,0 +1,222 @@ + + +CanFestival: drivers/can_peak_linux/can_peak_linux.c File Reference + + + + +
+
+
+
+ +

can_peak_linux.c File Reference

#include <stdio.h>
+#include <string.h>
+#include <errno.h>
+#include <fcntl.h>
+#include "libpcan.h"
+#include "can_driver.h"
+ +

+Include dependency graph for can_peak_linux.c:

+ + + + + + +

+Go to the source code of this file. + + + + + + + + + + + + + + + +

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)
+


Define Documentation

+ +
+
+ + + + +
#define CAN_INIT_TYPE_ST_RTR   MSGTYPE_STANDARD | MSGTYPE_RTR
+
+
+ +

+ +

+Definition at line 37 of file can_peak_linux.c. +

+Referenced by canSend_driver(). +

+

+


Function Documentation

+ +
+
+ + + + + + + + + +
int canClose_driver (CAN_HANDLE  fd0  ) 
+
+
+ +

+ +

+Definition at line 129 of file can_peak_linux.c. +

+

+ +

+
+ + + + + + + + + +
CAN_HANDLE canOpen_driver (s_BOARD board  ) 
+
+
+ +

+ +

+Definition at line 104 of file can_peak_linux.c. +

+References struct_s_BOARD::baudrate, struct_s_BOARD::busname, and TranslateBaudeRate(). +

+Here is the call graph for this function:

+ + + + +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
UNS8 canReceive_driver (CAN_HANDLE  fd0,
Message m 
)
+
+
+ +

+ +

+Definition at line 40 of file can_peak_linux.c. +

+References Message::cob_id, Message::data, Message::len, Message::rtr, UNS8, and SHORT_CAN::w. +

+

+ +

+
+ + + + + + + + + + + + + + + + + + +
UNS8 canSend_driver (CAN_HANDLE  fd0,
Message m 
)
+
+
+ +

+ +

+Definition at line 64 of file can_peak_linux.c. +

+References CAN_INIT_TYPE_ST_RTR, Message::data, Message::len, Message::rtr, and UNS8. +

+

+ +

+
+ + + + + + + + + +
int TranslateBaudeRate (char *  optarg  ) 
+
+
+ +

+ +

+Definition at line 89 of file can_peak_linux.c. +

+Referenced by canInit(), and canOpen_driver(). +

+

+


Generated on Fri Jun 8 08:51:40 2007 for CanFestival by  + +doxygen 1.5.1
+ +