CANopenLinux
CANopenNode on Linux devices
Loading...
Searching...
No Matches
CO_application.h
Go to the documentation of this file.
1
21#ifndef CO_APPLICATION_H
22#define CO_APPLICATION_H
23
24#include "CANopen.h"
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
49
56
61
75void app_programAsync(CO_t* co, uint32_t timer1usDiff);
76
85void app_programRt(CO_t* co, uint32_t timer1usDiff);
86
87 /* CO_applicationLinux */
88
89#ifdef __cplusplus
90}
91#endif /* __cplusplus */
92
93#endif /* CO_APPLICATION_H */
void app_programAsync(CO_t *co, uint32_t timer1usDiff)
Function is called cyclically from main().
void app_programRt(CO_t *co, uint32_t timer1usDiff)
Function is called cyclically from realtime thread at constant intervals.
CO_ReturnError_t app_programStart(uint16_t *bitRate, uint8_t *nodeId, uint32_t *errInfo)
Function is called once on the program startup, after Object dictionary initialization and before CAN...
void app_communicationReset(CO_t *co)
Function is called after CANopen communication reset.
void app_programEnd()
Function is called just before program ends.
unsigned int uint16_t
unsigned long int uint32_t
unsigned char uint8_t
CO_ReturnError_t