nico@215: nico@215:
nico@215:#include <stdio.h>
#include <stdlib.h>
#include "win32test.h"
#include "canfestival.h"
#include <time.h>
nico@215: Include dependency graph for main.c:
nico@215: 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 sleep_proc | nico@215:( | nico@215:ms | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 33 of file main.c. nico@215:
nico@215: Referenced by GetChangeStateResults(), and ReadSDO(). nico@215:
#define uptime_ms_proc (1000*(time()%86400)) | nico@215:
nico@215: nico@215:
nico@215: Definition at line 34 of file main.c. nico@215:
nico@215: Referenced by GetChangeStateResults(). nico@215:
nico@215:
UNS8 GetChangeStateResults | nico@215:( | nico@215:UNS8 | nico@215:node_id, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:expected_state, | nico@215:|
nico@215: | nico@215: | unsigned long | nico@215:timeout_ms | nico@215: |
nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 37 of file main.c. nico@215:
etisserant@240: References getNodeState(), masterRequestNodeState(), struct_CO_Data::NMTable, sleep_proc, Unknown_state, uptime_ms_proc, and win32test_Data. nico@215:
nico@215: Referenced by main(). nico@215:
etisserant@240: Here is the call graph for this function:
int main | nico@215:( | nico@215:int | nico@215:argc, | nico@215:|
nico@215: | nico@215: | char * | nico@215:argv[] | nico@215: |
nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 79 of file main.c. nico@215:
etisserant@240: 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(). etisserant@240:
etisserant@240: Here is the call graph for this function:
UNS8 ReadSDO | nico@215:( | nico@215:UNS8 | nico@215:nodeId, | nico@215:|
nico@215: | nico@215: | UNS16 | nico@215:index, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:subIndex, | nico@215:|
nico@215: | nico@215: | UNS8 | nico@215:dataType, | nico@215:|
nico@215: | nico@215: | void * | nico@215:data, | nico@215:|
nico@215: | nico@215: | UNS8 * | nico@215:size | nico@215: |
nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 57 of file main.c. nico@215:
etisserant@240: References closeSDOtransfer(), getReadResultNetworkDict(), readNetworkDict(), SDO_CLIENT, SDO_FINISHED, SDO_UPLOAD_IN_PROGRESS, sleep_proc, UNS32, UNS8, and win32test_Data. nico@215:
nico@215: Referenced by main(). nico@215:
etisserant@240: Here is the call graph for this function:
etisserant@240: