diff -r 6efc85c5493e -r 1c1e3599d66a doc/doxygen/html/TestMasterSlave_8c.html --- a/doc/doxygen/html/TestMasterSlave_8c.html Mon Feb 11 11:00:12 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,311 +0,0 @@ - - -CanFestival: examples/TestMasterSlave/TestMasterSlave.c File Reference - - - - -
-
-
-
- -

TestMasterSlave.c File Reference

#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <signal.h>
-#include "canfestival.h"
-#include "Master.h"
-#include "Slave.h"
-#include "TestMasterSlave.h"
- -

-Include dependency graph for TestMasterSlave.c:

- - - - - - - - - - - - -

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

Functions

UNS32 OnMasterMap1Update (CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)
void catch_signal (int sig)
void help ()
void InitNodes (CO_Data *d, UNS32 id)
int main (int argc, char **argv)

Variables

s_BOARD SlaveBoard = {"0", "125K"}
s_BOARD MasterBoard = {"1", "125K"}
-


Function Documentation

- -
-
- - - - - - - - - -
void catch_signal (int  sig  ) 
-
-
- -

- -

-Definition at line 56 of file TestMasterSlave.c. -

-References eprintf. -

-Referenced by catch_signal(), and main(). -

-

- -

-
- - - - - - - - -
void help (  ) 
-
-
- -

- -

-Definition at line 64 of file TestMasterSlave.c. -

-Referenced by main(). -

-

- -

-
- - - - - - - - - - - - - - - - - - -
void InitNodes (CO_Data d,
UNS32  id 
)
-
-
- -

- -

-Definition at line 93 of file TestMasterSlave.c. -

-References struct_s_BOARD::baudrate, Initialisation, MasterBoard, OnMasterMap1Update(), RegisterSetODentryCallBack(), setNodeId(), setState(), SlaveBoard, TestMaster_Data, and TestSlave_Data. -

-Referenced by main(). -

-Here is the call graph for this function:

- - - - - - - - - - -
-

- -

-
- - - - - - - - - - - - - - - - - - -
int main (int  argc,
char **  argv 
)
-
-
- -

- -

-Definition at line 119 of file TestMasterSlave.c. -

-References struct_s_BOARD::baudrate, struct_s_BOARD::busname, canClose(), canOpen(), catch_signal(), eprintf, getopt(), struct_CO_Data::heartbeatError, help(), struct_CO_Data::initialisation, InitNodes(), LoadCanDriver(), MasterBoard, masterSendNMTstateChange(), NMT_Reset_Node, struct_CO_Data::operational, optarg, struct_CO_Data::post_sync, struct_CO_Data::post_TPDO, struct_CO_Data::preOperational, setState(), SlaveBoard, StartTimerLoop(), Stopped, struct_CO_Data::stopped, StopTimerLoop(), struct_CO_Data::storeODSubIndex, TestMaster_Data, TestMaster_heartbeatError(), TestMaster_initialisation(), TestMaster_operational(), TestMaster_post_sync(), TestMaster_post_TPDO(), TestMaster_preOperational(), TestMaster_stopped(), TestSlave_Data, TestSlave_heartbeatError(), TestSlave_initialisation(), TestSlave_operational(), TestSlave_post_sync(), TestSlave_post_TPDO(), TestSlave_preOperational(), TestSlave_stopped(), and TestSlave_storeODSubIndex(). -

-Here is the call graph for this function:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

- -

-
- - - - - - - - - - - - - - - - - - - - - - - - -
UNS32 OnMasterMap1Update (CO_Data d,
const indextable unsused_indextable,
UNS8  unsused_bSubindex 
)
-
-
- -

- -

-Definition at line 46 of file TestMasterSlave.c. -

-References eprintf, and SlaveMap1. -

-Referenced by InitNodes(). -

-

-


Variable Documentation

- -
-
- - - - -
s_BOARD MasterBoard = {"1", "125K"}
-
-
- -

- -

-Definition at line 53 of file TestMasterSlave.c. -

-Referenced by InitNodes(), and main(). -

-

- -

-
- - - - -
s_BOARD SlaveBoard = {"0", "125K"}
-
-
- -

- -

-Definition at line 52 of file TestMasterSlave.c. -

-Referenced by InitNodes(), and main(). -

-

-


Generated on Mon Jul 2 19:10:25 2007 for CanFestival by  - -doxygen 1.5.1
- -