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

can_virtual.c File Reference

#include <stdio.h>
+#include <unistd.h>
+#include "can_driver.h"
+#include "def.h"
+ +

+Include dependency graph for can_virtual.c:

+ + + + + + + + +

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

Data Structures

struct  CANPipe

Defines

#define MAX_NB_CAN_PIPES   16
#define MyCase(fc)   case fc: printf(#fc);break;

Functions

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

Variables

CANPipe canpipes [MAX_NB_CAN_PIPES] = {{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},}
+


Define Documentation

+ +
+
+ + + + +
#define MAX_NB_CAN_PIPES   16
+
+
+ +

+ +

+Definition at line 33 of file can_virtual.c. +

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

+

+ +

+
+ + + + + + + + + +
#define MyCase (fc   )    case fc: printf(#fc);break;
+
+
+ +

+ +

+Definition at line 52 of file can_virtual.c. +

+Referenced by print_message(). +

+

+


Function Documentation

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

+ +

+Definition at line 142 of file can_virtual.c. +

+

+ +

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

+ +

+Definition at line 121 of file can_virtual.c. +

+References canpipes, MAX_NB_CAN_PIPES, and CANPipe::used. +

+

+ +

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

+ +

+Definition at line 43 of file can_virtual.c. +

+

+ +

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

+ +

+Definition at line 81 of file can_virtual.c. +

+References canpipes, MAX_NB_CAN_PIPES, and print_message(). +

+Here is the call graph for this function:

+ + + + +
+

+ +

+
+ + + + + + + + + +
void print_message (Message m  ) 
+
+
+ +

+ +

+Definition at line 53 of file can_virtual.c. +

+References Message::cob_id, Message::data, Message::len, MyCase, NMT, NODE_GUARD, PDO1rx, PDO1tx, PDO2rx, PDO2tx, PDO3rx, PDO3tx, PDO4rx, PDO4tx, Message::rtr, SDOrx, SDOtx, SYNC, TIME_STAMP, and SHORT_CAN::w. +

+Referenced by canSend_driver(). +

+

+


Variable Documentation

+ +
+
+ + + + +
CANPipe canpipes[MAX_NB_CAN_PIPES] = {{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},{0,},}
+
+
+ +

+ +

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

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

+

+


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