examples/TestMasterSlave/TestSlave.h
changeset 160 636d875c85dd
parent 79 9d8959095936
child 201 2966cd34162a
equal deleted inserted replaced
159:c7c84c68717b 160:636d875c85dd
     4 #include "data.h"
     4 #include "data.h"
     5 
     5 
     6 /* Prototypes of function provided by object dictionnary */
     6 /* Prototypes of function provided by object dictionnary */
     7 UNS32 TestSlave_valueRangeTest (UNS8 typeValue, void * value);
     7 UNS32 TestSlave_valueRangeTest (UNS8 typeValue, void * value);
     8 const indextable * TestSlave_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
     8 const indextable * TestSlave_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
     9 
       
    10 /* prototypes of function to be filled by app. */
       
    11 void TestSlave_SDOtimeoutError(UNS8 line);
       
    12 void TestSlave_heartbeatError(UNS8);
       
    13 
       
    14 UNS8 TestSlave_canSend(Message *);
       
    15 
       
    16 void TestSlave_initialisation(void);
       
    17 void TestSlave_preOperational(void);
       
    18 void TestSlave_operational(void);
       
    19 void TestSlave_stopped(void);
       
    20 
       
    21 void TestSlave_post_sync(void);
       
    22 void TestSlave_post_TPDO(void);
       
    23 
     9 
    24 /* Master node data struct */
    10 /* Master node data struct */
    25 extern CO_Data TestSlave_Data;
    11 extern CO_Data TestSlave_Data;
    26 
    12 
    27 extern ODCallback_t Store_parameters_callbacks[];		/* Callbacks of index0x1010 */
    13 extern ODCallback_t Store_parameters_callbacks[];		/* Callbacks of index0x1010 */