objdictgen/examples/example_objdict.h
author Christian Taedcke <hacking@taedcke.com>
Thu, 22 Dec 2011 16:03:39 +0100
changeset 682 dce1e0af6604
parent 623 36b62c854ee2
permissions -rw-r--r--
SDO transfer:
FIXED: - Wrong SDO line could get changed due to a wrong parameter to setSDOlineRestBytes().
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 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
    16
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
    17
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
    18
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
    19
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
    20
extern UNS32 canopenErrVal;		/* Mapped at index 0x2002, subindex 0x00*/
623
36b62c854ee2 Obsolete example fixed
laurent
parents: 281
diff changeset
    21
extern INTEGER8 strTest[10];		/* Mapped at index 0x2003, subindex 0x00*/
281
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    22
685d9a26e4f9 Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents: 0
diff changeset
    23
#endif // EXAMPLE_OBJDICT_H