examples/TestMasterSlave/Master.h
author Edouard Tisserant
Fri, 23 Mar 2018 15:45:52 +0100
changeset 803 cb315e75b3bd
parent 378 d2abf6c8c27b
permissions -rw-r--r--
Fixed trailing -lrtdm added by configure with Xenomai
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     1
#include "TestMaster.h"
160
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
     2
378
d2abf6c8c27b As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents: 343
diff changeset
     3
void TestMaster_heartbeatError(CO_Data* d, UNS8);
160
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
     4
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
     5
UNS8 TestMaster_canSend(Message *);
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
     6
378
d2abf6c8c27b As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents: 343
diff changeset
     7
void TestMaster_initialisation(CO_Data* d);
d2abf6c8c27b As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents: 343
diff changeset
     8
void TestMaster_preOperational(CO_Data* d);
d2abf6c8c27b As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents: 343
diff changeset
     9
void TestMaster_operational(CO_Data* d);
d2abf6c8c27b As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents: 343
diff changeset
    10
void TestMaster_stopped(CO_Data* d);
160
636d875c85dd Removed genrated dead prototypes for depricated callbacks.
etisserant
parents: 0
diff changeset
    11
378
d2abf6c8c27b As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents: 343
diff changeset
    12
void TestMaster_post_sync(CO_Data* d);
d2abf6c8c27b As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents: 343
diff changeset
    13
void TestMaster_post_TPDO(CO_Data* d);
d2abf6c8c27b As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents: 343
diff changeset
    14
void TestMaster_post_emcy(CO_Data* d, UNS8 nodeID, UNS16 errCode, UNS8 errReg);
d2abf6c8c27b As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents: 343
diff changeset
    15
void TestMaster_post_SlaveBootup(CO_Data* d, UNS8 nodeid);