00001 /*************************************************************************** 00002 emgcy.h - description 00003 ------------------- 00004 begin : Fri May 17 2002 00005 copyright : (C) 2002 by Raphael Zulliger 00006 email : zulli@hsr.ch 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This library is Copyright (c) Raphael Zulliger <zulli@gmx.net>. * 00012 * It is licensed under the GNU Library General Public License (LGPL). * 00013 * * 00014 ***************************************************************************/ 00015 00016 00024 #ifndef __emgcy_h__ 00025 #define __emgcy_h__ 00026 00027 #include <canop.h> 00028 00032 void processReceivedEmergency( s_rx_buffer_message* canopenMessage ); 00033 00034 00042 void sendEmergency( WORD emergencyCode, BYTE FAR* userDefinedInformations ); 00043 00044 00051 void NetErrorCallback( void ); 00052 00053 00058 void setError( BYTE bError ); 00059 00060 00061 #endif // __emgcy_h__