33 #include <linux/reboot.h> 42 #include <sys/epoll.h> 43 #include <sys/reboot.h> 49 #include "CO_Linux_tasks.h" 50 #include "CO_OD_storage.h" 57 #ifndef CO_APPLICATION_H 58 #define CO_APPLICATION_H 60 #define NSEC_PER_SEC (1000000000) 61 #define NSEC_PER_MSEC (1000000) 62 #define TMR_TASK_INTERVAL_NS (1000000) 63 #define TMR_TASK_OVERFLOW_US (5000) 64 #define INCREMENT_1MS(var) (var++) void app_programEnd(void)
Function is called just before program ends.
void app_programAsync(uint16_t timer1msDiff)
void app_programControlLoop(void)
Function is called cyclically from Control loop thread at constant intervals.
void app_communicationReset(void)
void app_programStart(void)