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

main.c File Reference

#include <stdio.h>
+#include <stdlib.h>
+#include "win32test.h"
+#include "canfestival.h"
+#include <time.h>
+ +

+Include dependency graph for main.c:

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

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

Defines

#define sleep_proc(ms)
#define uptime_ms_proc   (1000*(time()%86400))

Functions

UNS8 GetChangeStateResults (UNS8 node_id, UNS8 expected_state, unsigned long timeout_ms)
UNS8 ReadSDO (UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, void *data, UNS8 *size)
int main (int argc, char *argv[])
+


Define Documentation

+ +
+
+ + + + + + + + + +
#define sleep_proc (ms   ) 
+
+
+ +

+ +

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

+Referenced by GetChangeStateResults(), and ReadSDO(). +

+

+ +

+
+ + + + +
#define uptime_ms_proc   (1000*(time()%86400))
+
+
+ +

+ +

+Definition at line 34 of file main.c. +

+Referenced by GetChangeStateResults(). +

+

+


Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
UNS8 GetChangeStateResults (UNS8  node_id,
UNS8  expected_state,
unsigned long  timeout_ms 
)
+
+
+ +

+ +

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

+References getNodeState(), masterRequestNodeState(), struct_CO_Data::NMTable, sleep_proc, Unknown_state, uptime_ms_proc, and win32test_Data. +

+Referenced by main(). +

+Here is the call graph for this function:

+ + + + + + + + +
+

+ +

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

+ +

+Definition at line 79 of file main.c. +

+References canClose(), canOpen(), GetChangeStateResults(), Initialisation, LoadCanDriver(), MasterBoard, masterSendNMTstateChange(), NMT_Start_Node, NMT_Stop_Node, OD_SUCCESSFUL, Operational, ReadSDO(), RW, setNodeId(), setState(), Stopped, uint32, UNS32, UNS8, visible_string, win32test_Data, and writeLocalDict(). +

+Here is the call graph for this function:

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

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
UNS8 ReadSDO (UNS8  nodeId,
UNS16  index,
UNS8  subIndex,
UNS8  dataType,
void *  data,
UNS8 *  size 
)
+
+
+ +

+ +

+Definition at line 57 of file main.c. +

+References closeSDOtransfer(), getReadResultNetworkDict(), readNetworkDict(), SDO_CLIENT, SDO_FINISHED, SDO_UPLOAD_IN_PROGRESS, sleep_proc, UNS32, UNS8, and win32test_Data. +

+Referenced by main(). +

+Here is the call graph for this function:

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

+


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