nico@215: nico@215:
nico@215:#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <signal.h>
#include "canfestival.h"
#include "TestMasterMicroMod.h"
#include "TestMaster.h"
nico@215: Include dependency graph for TestMasterMicroMod.c:
nico@215: 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"} |
void catch_signal | nico@215:( | nico@215:int | nico@215:sig | nico@215:) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 339 of file TestMasterMicroMod.c. nico@215:
nico@215: References catch_signal(), and eprintf. nico@215:
etisserant@240: Here is the call graph for this function:
void help | nico@215:( | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 348 of file TestMasterMicroMod.c. nico@215:
void InitNodes | nico@215:( | nico@215:CO_Data * | nico@215:d, | nico@215:|
nico@215: | nico@215: | UNS32 | nico@215:id | nico@215: |
nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 382 of file TestMasterMicroMod.c. nico@215:
etisserant@240: References struct_s_BOARD::baudrate, Initialisation, MasterBoard, setNodeId(), setState(), and TestMaster_Data. etisserant@240:
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 397 of file TestMasterMicroMod.c. nico@215:
etisserant@240: 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(). etisserant@240:
etisserant@240: Here is the call graph for this function:
void TestMaster_heartbeatError | nico@215:( | nico@215:UNS8 | nico@215:heartbeatID | nico@215:) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 45 of file TestMasterMicroMod.c. nico@215:
nico@215: References eprintf. nico@215:
void TestMaster_initialisation | nico@215:( | nico@215:void | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 55 of file TestMasterMicroMod.c. nico@215:
etisserant@240: References eprintf, RW, slavenodeid, TestMaster_Data, UNS32, UNS8, and writeLocalDict(). etisserant@240:
etisserant@240: Here is the call graph for this function:
void TestMaster_operational | nico@215:( | nico@215:void | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 313 of file TestMasterMicroMod.c. nico@215:
nico@215: References eprintf. nico@215:
void TestMaster_post_sync | nico@215:( | nico@215:void | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 323 of file TestMasterMicroMod.c. nico@215:
etisserant@240: References DI1, DI2, DI3, DI4, DI5, DI6, DI7, DI8, DO, eprintf, MasterMap1, MasterMap10, MasterMap11, MasterMap12, MasterMap13, MasterMap2, MasterMap3, MasterMap4, MasterMap5, MasterMap6, MasterMap7, MasterMap8, and MasterMap9. etisserant@240:
void TestMaster_post_TPDO | nico@215:( | nico@215:void | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 330 of file TestMasterMicroMod.c. nico@215:
etisserant@240: References closeSDOtransfer(), eprintf, getReadResultNetworkDict(), readNetworkDict(), SDO_ABORTED_INTERNAL, SDO_ABORTED_RCV, SDO_CLIENT, SDO_DOWNLOAD_IN_PROGRESS, SDO_FINISHED, SDO_RESET, SDO_UPLOAD_IN_PROGRESS, sendPDOrequest(), TestMaster_Data, UNS32, UNS8, and writeNetworkDictCallBack(). etisserant@240:
etisserant@240: Here is the call graph for this function:
void TestMaster_preOperational | nico@215:( | nico@215:void | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 305 of file TestMasterMicroMod.c. nico@215:
etisserant@240: References eprintf, slavenodeid, and TestMaster_Data. etisserant@240:
void TestMaster_stopped | nico@215:( | nico@215:void | nico@215:nico@215: | ) | nico@215:nico@215: |
nico@215: nico@215:
nico@215: Definition at line 318 of file TestMasterMicroMod.c. nico@215:
nico@215: References eprintf. nico@215:
nico@215:
s_BOARD MasterBoard = {"32", "125K"} | nico@215:
nico@215: nico@215:
nico@215: Definition at line 336 of file TestMasterMicroMod.c. nico@215:
etisserant@240: etisserant@240:
UNS8 slavenodeid | nico@215:
nico@215: nico@215:
nico@215: Definition at line 41 of file TestMasterMicroMod.c. nico@215:
nico@215: Referenced by main(), TestMaster_initialisation(), and TestMaster_preOperational(). nico@215:
etisserant@240: