examples/DS401_Slave_Gui/CallBack.h
author Christian Taedcke
Thu, 09 Sep 2010 15:38:20 +0200
changeset 635 30a0e926bb2e
parent 385 fff25f16c923
permissions -rw-r--r--
ADDED: - new callback post_SlaveStateChange so that a master can monitor the state of its slave nodes using a heartbeat.
* * *
CHANGED: - added missing export for _post_SlaveStateChange (for revision #679)
#ifndef CALLBACK_H_
#define CALLBACK_H_

extern "C"
{
#include "ObjDict.h"
}

void Call_heartbeatError (CO_Data * d, UNS8);

UNS8 Call_canSend (Message *);

void Call_initialisation (CO_Data * d);
void Call_preOperational (CO_Data * d);
void Call_operational (CO_Data * d);
void Call_stopped (CO_Data * d);

void Call_post_sync (CO_Data * d);
void Call_post_TPDO (CO_Data * d);
void Call_storeODSubIndex (CO_Data * d, UNS16 wIndex, UNS8 bSubindex);

#endif /*CALLBACK_H_ */