examples/TestMasterSlave/Master.h
author luis
Fri, 28 Sep 2007 15:08:38 +0200
changeset 288 26015ee2c2c9
parent 284 24bf3d692993
child 343 118c1cabd0b0
permissions -rw-r--r--
Modified codes in MSG_ERR and MSG_WAR in emcy.c
Defined OD_VALUE_RANGE_EXCEEDED in def.h
Modified gen_cfile.py so than range test for 1003h sub0 sends OD_VALUE_RANGE_EXCEEDED as abortcode when value written is different from 0.
#include "TestMaster.h"

void TestMaster_heartbeatError(UNS8);

UNS8 TestMaster_canSend(Message *);

void TestMaster_initialisation(void);
void TestMaster_preOperational(void);
void TestMaster_operational(void);
void TestMaster_stopped(void);

void TestMaster_post_sync(void);
void TestMaster_post_TPDO(void);
void TestMaster_post_emcy(UNS8 nodeID, UNS16 errCode, UNS8 errReg);