NNP STM Generic Remote Module git-main
Loading...
Searching...
No Matches
lifegrd.h
Go to the documentation of this file.
1
8#ifndef INC_LIFEGRD_H_
9#define INC_LIFEGRD_H_
10
11
12typedef void (*heartbeatError_t)(CO_Data*, UNS8);
13void _heartbeatError(CO_Data* d, UNS8 heartbeatID);
14
15typedef void (*post_SlaveBootup_t)(CO_Data*, UNS8);
16void _post_SlaveBootup(CO_Data* d, UNS8 SlaveID);
17
18/*************************************************************************
19 * Functions
20 *************************************************************************/
21
22
23e_nodeState getNodeState (CO_Data* d, UNS8 nodeId);
24void heartbeatInit(CO_Data* d);
25void heartbeatStop(CO_Data* d);
27
28#endif /* INC_LIFEGRD_H_ */
#define UNS8
Unsigned int8 representation in CANFest.
Definition applicfg.h:25
void heartbeatStop(CO_Data *d)
Stop heartbeat consumer and producer.
Definition lifegrd.c:219
void processNODE_GUARD(CO_Data *d, Message *m)
This function is responsible to process a canopen-message which seams to be an NMT Error Control Mess...
Definition lifegrd.c:68
void heartbeatInit(CO_Data *d)
Start heartbeat consumer and producer with respect to 0x1016 and 0x1017 object dictionary entries.
Definition lifegrd.c:189
void _heartbeatError(CO_Data *d, UNS8 heartbeatID)
heartbeat Error
Definition lifegrd.c:236
void _post_SlaveBootup(CO_Data *d, UNS8 SlaveID)
post slave bootup
Definition lifegrd.c:244
e_nodeState getNodeState(CO_Data *d, UNS8 nodeId)
To read the state of a node This can be used by the master after having sent a life guard request,...
Definition lifegrd.c:33
Definition can.h:13
This structure contains all necessary informations to define a CANOpen node.
Definition data.h:44