nico@215: nico@215:
nico@215:00001 nico@215: 00002 /* File generated by gen_cfile.py. Should not be modified. */ nico@215: 00003 nico@215: 00004 #include "data.h" nico@215: 00005 nico@215: 00006 /* Prototypes of function provided by object dictionnary */ etisserant@240: 00007 UNS32 gene_SYNC_valueRangeTest (UNS8 typeValue, void * value); etisserant@240: 00008 const indextable * gene_SYNC_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks); nico@215: 00009 nico@215: 00010 /* prototypes of function to be filled by app. */ etisserant@240: 00011 void gene_SYNC_heartbeatError(UNS8); nico@215: 00012 etisserant@240: 00013 UNS8 gene_SYNC_canSend(Message *); nico@215: 00014 etisserant@240: 00015 void gene_SYNC_initialisation(void); etisserant@240: 00016 void gene_SYNC_preOperational(void); etisserant@240: 00017 void gene_SYNC_operational(void); etisserant@240: 00018 void gene_SYNC_stopped(void); nico@215: 00019 etisserant@240: 00020 void gene_SYNC_post_sync(void); etisserant@240: 00021 void gene_SYNC_post_TPDO(void); nico@215: 00022 nico@215: 00023 /* Master node data struct */ etisserant@240: 00024 extern CO_Data gene_SYNC_Data; nico@215: 00025 etisserant@240: 00026 extern UNS16 acceptanceFilter1; /* Mapped at index 0x2015, subindex 0x00*/ etisserant@240: 00027 extern UNS16 acceptanceFilter2; /* Mapped at index 0x2016, subindex 0x00*/ etisserant@240: 00028 extern UNS16 acceptanceFilter3; /* Mapped at index 0x2017, subindex 0x00*/ etisserant@240: 00029 extern UNS16 acceptanceFilter4; /* Mapped at index 0x2018, subindex 0x00*/ etisserant@240: 00030 extern UNS16 mask1; /* Mapped at index 0x2019, subindex 0x00*/ etisserant@240: 00031 extern UNS16 mask2; /* Mapped at index 0x2020, subindex 0x00*/ etisserant@240: 00032 extern UNS16 mask3; /* Mapped at index 0x2021, subindex 0x00*/ etisserant@240: 00033 extern UNS16 mask4; /* Mapped at index 0x2022, subindex 0x00*/ etisserant@240: 00034 extern UNS8 applyDownloadedFilters; /* Mapped at index 0x2023, subindex 0x00*/ etisserant@240: