examples/TestMasterSlave/TestMaster.h
author leonid
Wed, 14 Feb 2007 22:19:53 +0100
changeset 98 38bafcc580c6
parent 79 9d8959095936
child 160 636d875c85dd
permissions -rw-r--r--
file CanFestival-3.def was initially added on branch BRANCH_WIN32PORT.
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 TestMaster_valueRangeTest (UNS8 typeValue, void * value);
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
     8
const indextable * TestMaster_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 TestMaster_SDOtimeoutError(UNS8 line);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    12
void TestMaster_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 TestMaster_canSend(Message *);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    15
79
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    16
void TestMaster_initialisation(void);
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    17
void TestMaster_preOperational(void);
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    18
void TestMaster_operational(void);
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    19
void TestMaster_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 TestMaster_post_sync(void);
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    22
void TestMaster_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 TestMaster_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 MasterMap1;		/* Mapped at index 0x2000, subindex 0x00*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    30
extern ODCallback_t MasterMap1_callbacks[];		/* Callbacks of index0x2000 */
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    31
extern UNS8 MasterMap2;		/* Mapped at index 0x2001, subindex 0x00*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    32
extern UNS8 MasterMap3;		/* Mapped at index 0x2002, subindex 0x00*/
9d8959095936 compilers compatibility
frdupin
parents: 23
diff changeset
    33
extern UNS8 MasterMap4;		/* Mapped at index 0x2003, subindex 0x00*/