examples/gene_SYNC_HCS12/objdict.h
author etisserant
Mon, 18 Feb 2008 10:34:10 +0100
changeset 396 a43910975547
parent 378 d2abf6c8c27b
permissions -rw-r--r--
Fixed debug build on mingw32, was broken due to recent changes in debug macros in print_message
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     1
54
a2ca09ac1523 Tested. OK on Canfestival 3 rc2
frdupin
parents: 0
diff changeset
     2
/* File generated by gen_cfile.py. Should not be modified. */
a2ca09ac1523 Tested. OK on Canfestival 3 rc2
frdupin
parents: 0
diff changeset
     3
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     4
#include "data.h"
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     5
80
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
     6
/* Prototypes of function provided by object dictionnary */
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
     7
UNS32 gene_SYNC_valueRangeTest (UNS8 typeValue, void * value);
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
     8
const indextable * gene_SYNC_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
     9
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
    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
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    12
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    13
UNS8 gene_SYNC_canSend(Message *);
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    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
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    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
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    22
80
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
    23
/* Master node data struct */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    24
extern CO_Data gene_SYNC_Data;
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    25
80
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
    26
extern UNS16 acceptanceFilter1;		/* Mapped at index 0x2015, subindex 0x00*/
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
    27
extern UNS16 acceptanceFilter2;		/* Mapped at index 0x2016, subindex 0x00*/
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
    28
extern UNS16 acceptanceFilter3;		/* Mapped at index 0x2017, subindex 0x00*/
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
    29
extern UNS16 acceptanceFilter4;		/* Mapped at index 0x2018, subindex 0x00*/
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
    30
extern UNS16 mask1;		/* Mapped at index 0x2019, subindex 0x00*/
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
    31
extern UNS16 mask2;		/* Mapped at index 0x2020, subindex 0x00*/
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
    32
extern UNS16 mask3;		/* Mapped at index 0x2021, subindex 0x00*/
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
    33
extern UNS16 mask4;		/* Mapped at index 0x2022, subindex 0x00*/
37354e408645 compilers compatibility
frdupin
parents: 61
diff changeset
    34
extern UNS8 applyDownloadedFilters;		/* Mapped at index 0x2023, subindex 0x00*/