author | Edouard Tisserant |
Thu, 24 Jan 2019 13:53:01 +0100 | |
changeset 808 | de1fc3261f21 |
parent 378 | d2abf6c8c27b |
permissions | -rw-r--r-- |
0 | 1 |
|
54 | 2 |
/* File generated by gen_cfile.py. Should not be modified. */ |
3 |
||
0 | 4 |
#include "data.h" |
5 |
||
80 | 6 |
/* Prototypes of function provided by object dictionnary */ |
7 |
UNS32 gene_SYNC_valueRangeTest (UNS8 typeValue, void * value); |
|
8 |
const indextable * gene_SYNC_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks); |
|
9 |
||
10 |
/* prototypes of function to be filled by app. */ |
|
378
d2abf6c8c27b
As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents:
172
diff
changeset
|
11 |
void gene_SYNC_heartbeatError(CO_Data* d, UNS8); |
0 | 12 |
|
13 |
UNS8 gene_SYNC_canSend(Message *); |
|
14 |
||
378
d2abf6c8c27b
As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents:
172
diff
changeset
|
15 |
void gene_SYNC_initialisation(CO_Data* d); |
d2abf6c8c27b
As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents:
172
diff
changeset
|
16 |
void gene_SYNC_preOperational(CO_Data* d); |
d2abf6c8c27b
As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents:
172
diff
changeset
|
17 |
void gene_SYNC_operational(CO_Data* d); |
d2abf6c8c27b
As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents:
172
diff
changeset
|
18 |
void gene_SYNC_stopped(CO_Data* d); |
0 | 19 |
|
378
d2abf6c8c27b
As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents:
172
diff
changeset
|
20 |
void gene_SYNC_post_sync(CO_Data* d); |
d2abf6c8c27b
As requested long ago, added CoData* parameter to all this applications callback, let application designer use identical callback for multiple nodes, and reduce source code length.
etisserant
parents:
172
diff
changeset
|
21 |
void gene_SYNC_post_TPDO(CO_Data* d); |
0 | 22 |
|
80 | 23 |
/* Master node data struct */ |
0 | 24 |
extern CO_Data gene_SYNC_Data; |
25 |
||
80 | 26 |
extern UNS16 acceptanceFilter1; /* Mapped at index 0x2015, subindex 0x00*/ |
27 |
extern UNS16 acceptanceFilter2; /* Mapped at index 0x2016, subindex 0x00*/ |
|
28 |
extern UNS16 acceptanceFilter3; /* Mapped at index 0x2017, subindex 0x00*/ |
|
29 |
extern UNS16 acceptanceFilter4; /* Mapped at index 0x2018, subindex 0x00*/ |
|
30 |
extern UNS16 mask1; /* Mapped at index 0x2019, subindex 0x00*/ |
|
31 |
extern UNS16 mask2; /* Mapped at index 0x2020, subindex 0x00*/ |
|
32 |
extern UNS16 mask3; /* Mapped at index 0x2021, subindex 0x00*/ |
|
33 |
extern UNS16 mask4; /* Mapped at index 0x2022, subindex 0x00*/ |
|
34 |
extern UNS8 applyDownloadedFilters; /* Mapped at index 0x2023, subindex 0x00*/ |