examples/TestMasterSlave/Slave.h
author luis
Tue, 02 Oct 2007 10:32:11 +0200
changeset 298 dba062c5c3c1
parent 284 24bf3d692993
child 343 118c1cabd0b0
permissions -rw-r--r--
Checking if TPDO was valid was wrong (pdo.c)
There were some declarations after statements in pdo.c that caused some compilers to complaint
#include "TestSlave.h"

void TestSlave_heartbeatError(UNS8);

UNS8 TestSlave_canSend(Message *);

void TestSlave_initialisation(void);
void TestSlave_preOperational(void);
void TestSlave_operational(void);
void TestSlave_stopped(void);

void TestSlave_post_sync(void);
void TestSlave_post_TPDO(void);
void TestSlave_storeODSubIndex(UNS16 wIndex, UNS8 bSubindex);
void TestSlave_post_emcy(UNS8 nodeID, UNS16 errCode, UNS8 errReg);