objdictgen/examples/example_objdict.h
author Christian Taedcke <hacking@taedcke.com>
Wed, 09 Nov 2011 15:02:47 +0000
changeset 689 d6fcd388f2db
parent 623 36b62c854ee2
permissions -rw-r--r--
Win32 IXXAT driver:
CHANGED: - Removed deprecated call to VCI_GetBrdTypeByName().
- The board type given to VCI2_PrepareBoard() is now always 0, because this parameter is not used.
- Removed the board_name parameter from IXXAT::open(). The board that should be opened is identified by the parameter board_number.
The correct parameter board_number can be determined using XAT_EnumHwEntry() and XAT_GetConfig().
- Changed the constructor IXXAT::IXXAT(). board->busname now only contains the board_number, see XAT_EnumHwEntry() and XAT_GetConfig().
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