include/lifegrd.h
changeset 71 95cd3376cc9f
parent 0 4472ee7c6c3e
child 74 c0b4b2ef7579
equal deleted inserted replaced
70:f36f09f08b62 71:95cd3376cc9f
    28 
    28 
    29 typedef void (*heartbeatError_t)(UNS8);
    29 typedef void (*heartbeatError_t)(UNS8);
    30 
    30 
    31 #include "data.h"
    31 #include "data.h"
    32 
    32 
    33 //*************************************************************************/
    33 /*************************************************************************
    34 //Functions
    34  * Functions
    35 //*************************************************************************/
    35 /*************************************************************************/
    36 
    36 
    37 
    37 
    38 /** To read the state of a node
    38 /** To read the state of a node
    39  *  This can be used by the master after having sent a life guard request,
    39  *  This can be used by the master after having sent a life guard request,
    40  *  of by any node if it is waiting for heartbeat.
    40  *  of by any node if it is waiting for heartbeat.
    57  *  \param Message The CAN-message which has to be analysed.
    57  *  \param Message The CAN-message which has to be analysed.
    58  *  If a BootUp message is detected, it will return the nodeId of the Slave who booted up
    58  *  If a BootUp message is detected, it will return the nodeId of the Slave who booted up
    59  */
    59  */
    60 void proceedNODE_GUARD (CO_Data* d, Message* m);
    60 void proceedNODE_GUARD (CO_Data* d, Message* m);
    61 
    61 
    62 #endif //__lifegrd_h__
    62 #endif /*__lifegrd_h__ */