examples/TestMasterSlave/Master.h
author greg
Thu, 08 Oct 2009 17:21:15 +0200
changeset 605 f91ee161b3a1
parent 378 d2abf6c8c27b
permissions -rw-r--r--
-add LeaveMutex to avoid canopenshell deadlock when call NodeInit
-Now call the first setalarm from StartTimerLoop instead of the Timerthreadloop (like linux)
#include "TestMaster.h"

void TestMaster_heartbeatError(CO_Data* d, UNS8);

UNS8 TestMaster_canSend(Message *);

void TestMaster_initialisation(CO_Data* d);
void TestMaster_preOperational(CO_Data* d);
void TestMaster_operational(CO_Data* d);
void TestMaster_stopped(CO_Data* d);

void TestMaster_post_sync(CO_Data* d);
void TestMaster_post_TPDO(CO_Data* d);
void TestMaster_post_emcy(CO_Data* d, UNS8 nodeID, UNS16 errCode, UNS8 errReg);
void TestMaster_post_SlaveBootup(CO_Data* d, UNS8 nodeid);