examples/gene_SYNC_HCS12/objdict.h
changeset 378 d2abf6c8c27b
parent 172 0248c2b148bb
equal deleted inserted replaced
377:bea5a1576cbd 378:d2abf6c8c27b
     6 /* Prototypes of function provided by object dictionnary */
     6 /* Prototypes of function provided by object dictionnary */
     7 UNS32 gene_SYNC_valueRangeTest (UNS8 typeValue, void * value);
     7 UNS32 gene_SYNC_valueRangeTest (UNS8 typeValue, void * value);
     8 const indextable * gene_SYNC_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
     8 const indextable * gene_SYNC_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
     9 
     9 
    10 /* prototypes of function to be filled by app. */
    10 /* prototypes of function to be filled by app. */
    11 void gene_SYNC_heartbeatError(UNS8);
    11 void gene_SYNC_heartbeatError(CO_Data* d, UNS8);
    12 
    12 
    13 UNS8 gene_SYNC_canSend(Message *);
    13 UNS8 gene_SYNC_canSend(Message *);
    14 
    14 
    15 void gene_SYNC_initialisation(void);
    15 void gene_SYNC_initialisation(CO_Data* d);
    16 void gene_SYNC_preOperational(void);
    16 void gene_SYNC_preOperational(CO_Data* d);
    17 void gene_SYNC_operational(void);
    17 void gene_SYNC_operational(CO_Data* d);
    18 void gene_SYNC_stopped(void);
    18 void gene_SYNC_stopped(CO_Data* d);
    19 
    19 
    20 void gene_SYNC_post_sync(void);
    20 void gene_SYNC_post_sync(CO_Data* d);
    21 void gene_SYNC_post_TPDO(void);
    21 void gene_SYNC_post_TPDO(CO_Data* d);
    22 
    22 
    23 /* Master node data struct */
    23 /* Master node data struct */
    24 extern CO_Data gene_SYNC_Data;
    24 extern CO_Data gene_SYNC_Data;
    25 
    25 
    26 extern UNS16 acceptanceFilter1;		/* Mapped at index 0x2015, subindex 0x00*/
    26 extern UNS16 acceptanceFilter1;		/* Mapped at index 0x2015, subindex 0x00*/