examples/DS401_Slave_Gui/CallBack.h
author Christian Taedcke
Wed, 10 Nov 2010 13:08:26 +0100
changeset 655 ea1ddcc77acf
parent 385 fff25f16c923
permissions -rw-r--r--
CHANGED: - canSend message parameter is now a const pointer
ADDED : - IXXAT specific can bus watchdog to restart the VCI2 driver if a bus off, data ovverrun or remote queue overrun is detected. The can adapter cannot recover on its own.
* * *
CHANGED: - IXXAT::m_watchdogTimerId from DWORD to UINT_PTR to fix compiler warning
#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_ */