objdictgen/gen_cfile.py
changeset 63 2be18e405e40
parent 60 a8723422e0dd
child 64 c72dd78e547f
equal deleted inserted replaced
62:93d4db3677e6 63:2be18e405e40
   464 #-------------------------------------------------------------------------------
   464 #-------------------------------------------------------------------------------
   465 
   465 
   466     HeaderFileContent = copyright_notice + generated_tag + """
   466     HeaderFileContent = copyright_notice + generated_tag + """
   467 #include "data.h"
   467 #include "data.h"
   468 
   468 
       
   469 // prototypes of function provided by object dictionnary
       
   470 UNS32 %(NodeName)s_valueRangeTest (UNS8 typeValue, void * value);
       
   471 const indextable * %(NodeName)s_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks);
       
   472 
   469 // prototypes of function to be filled by app
   473 // prototypes of function to be filled by app
   470 void %(NodeName)s_SDOtimeoutError(UNS8 line);
   474 void %(NodeName)s_SDOtimeoutError(UNS8 line);
   471 void %(NodeName)s_heartbeatError(UNS8);
   475 void %(NodeName)s_heartbeatError(UNS8);
   472 
   476 
   473 UNS8 %(NodeName)s_canSend(Message *);
   477 UNS8 %(NodeName)s_canSend(Message *);