objdictgen/examples/example_objdict.h
author groke6
Mon, 04 Feb 2008 16:40:44 +0100
changeset 381 854c43cdc24a
parent 281 685d9a26e4f9
child 623 36b62c854ee2
permissions -rw-r--r--
added TestMasterSlaveLSS. LSS protocol revised.
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     1
281
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
     2
/* File generated by gen_cfile.py. Should not be modified. */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     3
281
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
     4
#ifndef EXAMPLE_OBJDICT_H
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
     5
#define EXAMPLE_OBJDICT_H
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     6
281
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
     7
#include "data.h"
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     8
281
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
     9
/* Prototypes of function provided by object dictionnary */
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    10
UNS32 Linux_slave_valueRangeTest (UNS8 typeValue, void * value);
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    11
const indextable * Linux_slave_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    12
281
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    13
/* Master node data struct */
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    14
extern CO_Data Linux_slave_Data;
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    15
extern ODCallback_t Transmit_PDO_1_Parameter_callbacks[];		/* Callbacks of index0x1800 */
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    16
extern ODCallback_t Transmit_PDO_2_Parameter_callbacks[];		/* Callbacks of index0x1801 */
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    17
extern UNS8 Time_seconds;		/* Mapped at index 0x2000, subindex 0x01 */
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    18
extern UNS8 Time_minutes;		/* Mapped at index 0x2000, subindex 0x02 */
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    19
extern UNS8 Time_hours;		/* Mapped at index 0x2000, subindex 0x03 */
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    20
extern UNS8 Time_days;		/* Mapped at index 0x2000, subindex 0x04 */
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    21
extern UNS32 canopenErrNB;		/* Mapped at index 0x2001, subindex 0x00*/
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    22
extern UNS32 canopenErrVal;		/* Mapped at index 0x2002, subindex 0x00*/
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    23
extern UNS8 strTest[10];		/* Mapped at index 0x2003, subindex 0x00*/
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    24
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    25
#endif // EXAMPLE_OBJDICT_H