examples/TestMasterSlave/Slave.h
changeset 378 d2abf6c8c27b
parent 343 118c1cabd0b0
child 381 854c43cdc24a
equal deleted inserted replaced
377:bea5a1576cbd 378:d2abf6c8c27b
     1 #include "TestSlave.h"
     1 #include "TestSlave.h"
     2 
     2 
     3 void TestSlave_heartbeatError(UNS8);
     3 void TestSlave_heartbeatError(CO_Data* d, UNS8);
     4 
     4 
     5 UNS8 TestSlave_canSend(Message *);
     5 UNS8 TestSlave_canSend(Message *);
     6 
     6 
     7 void TestSlave_initialisation(void);
     7 void TestSlave_initialisation(CO_Data* d);
     8 void TestSlave_preOperational(void);
     8 void TestSlave_preOperational(CO_Data* d);
     9 void TestSlave_operational(void);
     9 void TestSlave_operational(CO_Data* d);
    10 void TestSlave_stopped(void);
    10 void TestSlave_stopped(CO_Data* d);
    11 
    11 
    12 void TestSlave_post_sync(void);
    12 void TestSlave_post_sync(CO_Data* d);
    13 void TestSlave_post_TPDO(void);
    13 void TestSlave_post_TPDO(CO_Data* d);
    14 void TestSlave_storeODSubIndex(UNS16 wIndex, UNS8 bSubindex);
    14 void TestSlave_storeODSubIndex(CO_Data* d, UNS16 wIndex, UNS8 bSubindex);
    15 void TestSlave_post_emcy(UNS8 nodeID, UNS16 errCode, UNS8 errReg);
    15 void TestSlave_post_emcy(CO_Data* d, UNS8 nodeID, UNS16 errCode, UNS8 errReg);
    16 void TestSlave_StoreConfiguration(UNS8 *error, UNS8 *spec_error);
    16 void TestSlave_StoreConfiguration(UNS8 *error, UNS8 *spec_error);
    17 void TestSlave_ChangeBaudRate(char *baudrate);
    17 void TestSlave_ChangeBaudRate(char *baudrate);