examples/TestMasterSlave/Slave.h
author Christian Taedcke <Christian.Taedcke@ica-traffic.de>
Fri, 19 Feb 2010 08:18:40 +0100
changeset 639 27c0a025acf3
parent 381 854c43cdc24a
permissions -rw-r--r--
CHANGED: - if variable starts with a digit, add a "_" at the beginning
* * *
FIXED: - if callback array name starts with a digit, prepend "_"
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     1
#include "TestSlave.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 TestSlave_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 TestSlave_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 TestSlave_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 TestSlave_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 TestSlave_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 TestSlave_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 TestSlave_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 TestSlave_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 TestSlave_storeODSubIndex(CO_Data* d, UNS16 wIndex, UNS8 bSubindex);
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 TestSlave_post_emcy(CO_Data* d, UNS8 nodeID, UNS16 errCode, UNS8 errReg);