include/emcy.h
changeset 296 03f2b8b8cb0b
parent 284 24bf3d692993
child 378 d2abf6c8c27b
equal deleted inserted replaced
295:25ff2fadff89 296:03f2b8b8cb0b
    59  * Functions
    59  * Functions
    60  *************************************************************************/
    60  *************************************************************************/
    61 
    61 
    62 /** Sets a new error with code errCode. Also sets corresponding bits in Error register (1001h)
    62 /** Sets a new error with code errCode. Also sets corresponding bits in Error register (1001h)
    63  */
    63  */
    64 UNS8 EMCY_setError(CO_Data* d, UNS16 errCode, UNS8 errRegMask);
    64 UNS8 EMCY_setError(CO_Data* d, UNS16 errCode, UNS8 errRegMask, UNS16 addInfo);
    65 
    65 
    66 /** Indicates it has recovered from error errCode. Also clears corresponding bits in Error register (1001h)
    66 /** Indicates it has recovered from error errCode. Also clears corresponding bits in Error register (1001h)
    67  */
    67  */
    68 void EMCY_errorRecovered(CO_Data* d, UNS16 errCode);
    68 void EMCY_errorRecovered(CO_Data* d, UNS16 errCode);
    69 
    69