NNP STM Generic Remote Module git-main
Loading...
Searching...
No Matches
sync.h
Go to the documentation of this file.
1
8#ifndef INC_SYNC_H_
9#define INC_SYNC_H_
10
11void startSYNC(CO_Data* d);
12void stopSYNC(CO_Data* d);
13typedef void (*post_sync_t)(CO_Data*);
14void _post_sync(CO_Data* d);
15typedef void (*post_TPDO_t)(CO_Data*);
16void _post_TPDO(CO_Data* d);
20
21#endif /* INC_SYNC_H_ */
#define UNS8
Unsigned int8 representation in CANFest.
Definition applicfg.h:25
UNS8 sendSYNCMessage(CO_Data *d)
Transmit a SYNC message on CAN bus.
Definition sync.c:97
void startSYNC(CO_Data *d)
<BRIEF> startSYNC
Definition sync.c:58
void stopSYNC(CO_Data *d)
<BRIEF> stopSYNC
Definition sync.c:83
void _post_sync(CO_Data *d)
<BRIEF> _post_sync
Definition sync.c:165
UNS8 processSYNC(CO_Data *d, Message *m)
This function is called when the node is receiving a SYNC message (cob-id = 0x80).
Definition sync.c:135
void _post_TPDO(CO_Data *d)
<BRIEF> _post_TPDO
Definition sync.c:172
UNS8 sendSYNC(CO_Data *d)
Transmit a SYNC message and trigger sync TPDOs.
Definition sync.c:117
Definition can.h:13
This structure contains all necessary informations to define a CANOpen node.
Definition data.h:44