examples/TestMasterSlave/TestSlave.h
author frdupin
Tue, 30 Jan 2007 10:25:19 +0100
changeset 83 3a7d54b0a299
parent 79 9d8959095936
child 160 636d875c85dd
permissions -rw-r--r--
BIG endian def is moved to config.h
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     1
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     2
/* File generated by gen_cfile.py. Should not be modified. */
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     3
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     4
#include "data.h"
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     5
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
     6
/* Prototypes of function provided by object dictionnary */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
     7
UNS32 TestSlave_valueRangeTest (UNS8 typeValue, void * value);
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
     8
const indextable * TestSlave_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
     9
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    10
/* prototypes of function to be filled by app. */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    11
void TestSlave_SDOtimeoutError(UNS8 line);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    12
void TestSlave_heartbeatError(UNS8);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    13
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    14
UNS8 TestSlave_canSend(Message *);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    15
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    16
void TestSlave_initialisation(void);
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    17
void TestSlave_preOperational(void);
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    18
void TestSlave_operational(void);
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    19
void TestSlave_stopped(void);
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    20
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    21
void TestSlave_post_sync(void);
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    22
void TestSlave_post_TPDO(void);
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    23
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    24
/* Master node data struct */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    25
extern CO_Data TestSlave_Data;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    26
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    27
extern ODCallback_t Store_parameters_callbacks[];		/* Callbacks of index0x1010 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    28
extern ODCallback_t Restore_Default_Parameters_callbacks[];		/* Callbacks of index0x1011 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    29
extern UNS8 SlaveMap1;		/* Mapped at index 0x2000, subindex 0x00*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    30
extern UNS8 SlaveMap2;		/* Mapped at index 0x2001, subindex 0x00*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    31
extern UNS8 SlaveMap3;		/* Mapped at index 0x2002, subindex 0x00*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    32
extern UNS8 SlaveMap4;		/* Mapped at index 0x2003, subindex 0x00*/