examples/TestMasterSlave/Slave.h
author Christian Taedcke
Fri, 28 Jan 2011 14:51:18 +0100
changeset 658 7758d60e9260
parent 381 854c43cdc24a
permissions -rw-r--r--
FIXED: - changed make targets from "%o: %c" to "%.o: %.c" (Patch from irc <oleg_osov>)
find . -name 'Make*' | xargs perl -w -i.bak -p -e "s/\%o: \%c/%.o: %.c/g"
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);