#include <applicfg.h>
#include "data.h"


Go to the source code of this file.
Functions | |
| UNS8 | EMCY_setError (CO_Data *d, UNS16 errCode, UNS8 errRegMask, UNS16 addInfo) |
| Sets a new error with code errCode. Also sets corresponding bits in Error register (1001h). | |
| void | EMCY_errorRecovered (CO_Data *d, UNS16 errCode) |
| Indicates it has recovered from error errCode. Also clears corresponding bits in Error register (1001h). | |
| void | emergencyInit (CO_Data *d) |
| Start EMCY consumer and producer. | |
| void | emergencyStop (CO_Data *d) |
| Stop EMCY producer and consumer. | |
| void | proceedEMCY (CO_Data *d, Message *m) |
| This function is responsible to process an EMCY canopen-message. | |
Definition in file emcy.h.
| void EMCY_errorRecovered | ( | CO_Data * | d, | |
| UNS16 | errCode | |||
| ) |
Indicates it has recovered from error errCode. Also clears corresponding bits in Error register (1001h).
| *d | Pointer on a CAN object data structure | |
| errCode | The error code |
| UNS8 EMCY_setError | ( | CO_Data * | d, | |
| UNS16 | errCode, | |||
| UNS8 | errRegMask, | |||
| UNS16 | addInfo | |||
| ) |
Sets a new error with code errCode. Also sets corresponding bits in Error register (1001h).
| *d | Pointer on a CAN object data structure | |
| errCode | The error code | |
| errRegMask | ||
| addInfo |
| void emergencyInit | ( | CO_Data * | d | ) |
Start EMCY consumer and producer.
| *d | Pointer on a CAN object data structure |
| void emergencyStop | ( | CO_Data * | d | ) |
Stop EMCY producer and consumer.
| *d | Pointer on a CAN object data structure |
This function is responsible to process an EMCY canopen-message.
| *d | Pointer on a CAN object data structure | |
| *m | Pointer on the CAN-message which has to be analysed. |
1.5.6