]> rtime.felk.cvut.cz Git - CanFestival-3.git/blob - objdictgen/examples/example_objdict.h
Obsolete example files in objdictgen/examples replaced by some new equivalents
[CanFestival-3.git] / objdictgen / examples / example_objdict.h
1
2 /* File generated by gen_cfile.py. Should not be modified. */
3
4 #ifndef EXAMPLE_OBJDICT_H
5 #define EXAMPLE_OBJDICT_H
6
7 #include "data.h"
8
9 /* Prototypes of function provided by object dictionnary */
10 UNS32 Linux_slave_valueRangeTest (UNS8 typeValue, void * value);
11 const indextable * Linux_slave_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
12
13 /* Master node data struct */
14 extern CO_Data Linux_slave_Data;
15 extern ODCallback_t Transmit_PDO_1_Parameter_callbacks[];               /* Callbacks of index0x1800 */
16 extern ODCallback_t Transmit_PDO_2_Parameter_callbacks[];               /* Callbacks of index0x1801 */
17 extern UNS8 Time_seconds;               /* Mapped at index 0x2000, subindex 0x01 */
18 extern UNS8 Time_minutes;               /* Mapped at index 0x2000, subindex 0x02 */
19 extern UNS8 Time_hours;         /* Mapped at index 0x2000, subindex 0x03 */
20 extern UNS8 Time_days;          /* Mapped at index 0x2000, subindex 0x04 */
21 extern UNS32 canopenErrNB;              /* Mapped at index 0x2001, subindex 0x00*/
22 extern UNS32 canopenErrVal;             /* Mapped at index 0x2002, subindex 0x00*/
23 extern UNS8 strTest[10];                /* Mapped at index 0x2003, subindex 0x00*/
24
25 #endif // EXAMPLE_OBJDICT_H