examples/gene_SYNC_HCS12/objdict.h
author etisserant
Sun, 30 Sep 2007 22:35:48 +0200
changeset 291 6165554cbfe9
parent 172 0248c2b148bb
child 378 d2abf6c8c27b
permissions -rw-r--r--
Some tricks in communication services status struct (states.c) and in sync.c to fit with Beremiz generated node code.
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. */
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    11
void gene_SYNC_heartbeatError(UNS8);
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
61
813ffdfbffb2 some improvements
frdupin
parents: 54
diff changeset
    15
void gene_SYNC_initialisation(void);
813ffdfbffb2 some improvements
frdupin
parents: 54
diff changeset
    16
void gene_SYNC_preOperational(void);
813ffdfbffb2 some improvements
frdupin
parents: 54
diff changeset
    17
void gene_SYNC_operational(void);
813ffdfbffb2 some improvements
frdupin
parents: 54
diff changeset
    18
void gene_SYNC_stopped(void);
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    19
61
813ffdfbffb2 some improvements
frdupin
parents: 54
diff changeset
    20
void gene_SYNC_post_sync(void);
813ffdfbffb2 some improvements
frdupin
parents: 54
diff changeset
    21
void gene_SYNC_post_TPDO(void);
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*/