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

TestMasterMicroMod.c File Reference

#include <unistd.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+#include <signal.h>
+#include "canfestival.h"
+#include "TestMasterMicroMod.h"
+#include "TestMaster.h"
+ +

+Include dependency graph for TestMasterMicroMod.c:

+ + + + + + +

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

Functions

void TestMaster_heartbeatError (UNS8 heartbeatID)
void TestMaster_initialisation ()
void TestMaster_preOperational ()
void TestMaster_operational ()
void TestMaster_stopped ()
void TestMaster_post_sync ()
void TestMaster_post_TPDO ()
void catch_signal (int sig)
void help ()
void InitNodes (CO_Data *d, UNS32 id)
int main (int argc, char **argv)

Variables

UNS8 slavenodeid
s_BOARD MasterBoard = {"32", "125K"}
+


Function Documentation

+ +
+
+ + + + + + + + + +
void catch_signal (int  sig  ) 
+
+
+ +

+ +

+Definition at line 339 of file TestMasterMicroMod.c. +

+References catch_signal(), and eprintf. +

+Here is the call graph for this function:

+ + + + +
+

+ +

+
+ + + + + + + + +
void help (  ) 
+
+
+ +

+ +

+Definition at line 348 of file TestMasterMicroMod.c. +

+

+ +

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

+ +

+Definition at line 382 of file TestMasterMicroMod.c. +

+References struct_s_BOARD::baudrate, Initialisation, MasterBoard, setNodeId(), setState(), and TestMaster_Data. +

+Here is the call graph for this function:

+ + + + + + + + + + + + + + +
+

+ +

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

+ +

+Definition at line 397 of file TestMasterMicroMod.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(), slavenodeid, StartTimerLoop(), Stopped, struct_CO_Data::stopped, StopTimerLoop(), TestMaster_Data, TestMaster_heartbeatError(), TestMaster_initialisation(), TestMaster_operational(), TestMaster_post_sync(), TestMaster_post_TPDO(), TestMaster_preOperational(), and TestMaster_stopped(). +

+Here is the call graph for this function:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +

+
+ + + + + + + + + +
void TestMaster_heartbeatError (UNS8  heartbeatID  ) 
+
+
+ +

+ +

+Definition at line 45 of file TestMasterMicroMod.c. +

+References eprintf. +

+

+ +

+
+ + + + + + + + + +
void TestMaster_initialisation (void   ) 
+
+
+ +

+ +

+Definition at line 55 of file TestMasterMicroMod.c. +

+References eprintf, RW, slavenodeid, TestMaster_Data, UNS32, UNS8, and writeLocalDict(). +

+Here is the call graph for this function:

+ + + + + + +
+

+ +

+
+ + + + + + + + + +
void TestMaster_operational (void   ) 
+
+
+ +

+ +

+Definition at line 313 of file TestMasterMicroMod.c. +

+References eprintf. +

+

+ +

+
+ + + + + + + + + +
void TestMaster_post_sync (void   ) 
+
+
+ +

+ +

+Definition at line 323 of file TestMasterMicroMod.c. +

+References DI1, DI2, DI3, DI4, DI5, DI6, DI7, DI8, DO, eprintf, MasterMap1, MasterMap10, MasterMap11, MasterMap2, MasterMap3, MasterMap4, MasterMap5, MasterMap6, MasterMap7, MasterMap8, and MasterMap9. +

+

+ +

+
+ + + + + + + + + +
void TestMaster_post_TPDO (void   ) 
+
+
+ +

+ +

+Definition at line 330 of file TestMasterMicroMod.c. +

+References closeSDOtransfer(), eprintf, getReadResultNetworkDict(), MasterMap1, readNetworkDict(), SDO_ABORTED_INTERNAL, SDO_ABORTED_RCV, SDO_CLIENT, SDO_DOWNLOAD_IN_PROGRESS, SDO_FINISHED, SDO_RESET, SDO_UPLOAD_IN_PROGRESS, TestMaster_Data, UNS32, and UNS8. +

+Here is the call graph for this function:

+ + + + + + + + + + + + + +
+

+ +

+
+ + + + + + + + + +
void TestMaster_preOperational (void   ) 
+
+
+ +

+ +

+Definition at line 305 of file TestMasterMicroMod.c. +

+References eprintf, slavenodeid, and TestMaster_Data. +

+

+ +

+
+ + + + + + + + + +
void TestMaster_stopped (void   ) 
+
+
+ +

+ +

+Definition at line 318 of file TestMasterMicroMod.c. +

+References eprintf. +

+

+


Variable Documentation

+ +
+
+ + + + +
s_BOARD MasterBoard = {"32", "125K"}
+
+
+ +

+ +

+Definition at line 336 of file TestMasterMicroMod.c. +

+

+ +

+
+ + + + +
UNS8 slavenodeid
+
+
+ +

+ +

+Definition at line 41 of file TestMasterMicroMod.c. +

+Referenced by main(), TestMaster_initialisation(), and TestMaster_preOperational(). +

+

+


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