examples/DS401_Slave_Gui/CallBack.h
author luis
Wed, 26 Sep 2007 16:02:00 +0200
changeset 284 24bf3d692993
parent 246 d635cfc520ee
child 378 d2abf6c8c27b
permissions -rw-r--r--
Implemented EMCY objects.
Added emcy.c and emcy.h
Modified data.h for necessary variables.
Added some EMCY message sendings in TestMasterSlave example.
Modified configure script to define EMCY_MAX_ERRORS.
Modified python scripts to make 1003h object always available (with a callback).
#ifndef CALLBACK_H_
#define CALLBACK_H_

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

void Call_heartbeatError(UNS8);

UNS8 Call_canSend(Message *);

void Call_initialisation(void);
void Call_preOperational(void);
void Call_operational(void);
void Call_stopped(void);

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

#endif /*CALLBACK_H_*/