examples/DS401_Slave_Gui/CallBack.h
author Christian Taedcke <hacking@taedcke.com>
Tue, 08 Nov 2011 08:27:42 +0000
changeset 684 3804ee7f9030
parent 385 fff25f16c923
permissions -rw-r--r--
Win32 applconfig:
CHANGED: - The MSG()-Makros for Visual Studio both print now to OutputDebugString().
ADDED: - Makro CANFESTIVAL_DEBUG_DRV_MSG() and MSG_ERR_DRV() to print into MSG() from a can driver implementation.
#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_ */