common_errors.h
Go to the documentation of this file.
00001 #ifndef __COMMON_ERRORS_H__
00002 #define __COMMON_ERRORS_H__
00003 
00033 #define ERR_NOERR 0
00034 
00035 // Errors: Driver related errors.
00036 
00041 #define ERR_CURLIM -1
00042 
00047 #undef  ERR_TIMEOUT // to avoid other collisions.
00048 #define ERR_TIMEOUT -2
00049 
00054 #define ERR_NOHOME -3
00055 
00060 #define ERR_OUTOFRANGE -4
00061 
00066 #define ERR_POSLIMIT -5
00067 
00072 #define ERR_CONF -6
00073 
00074 // Errors: Serial Port related errors.
00075 
00080 #define ERR_READ -7
00081 
00086 #define ERR_WRI -8
00087 
00092 #define ERR_COM -9
00093 
00098 #define ERR_SEM -10
00099 
00104 #define ERR_PARAM_NF    -11
00105 
00110 #define ERR_FILE_ACCESS -12
00111 
00116 #define ERR_NA -13
00117 
00122 #define ERR_UNK -14
00123 
00128 #define ERR_NOTLINKED -15
00129 
00134 #define ERR_OUTOFBOUNDS -16
00135 
00140 #define ERR_CREAT -17
00141 
00146 #define ERR_GENERIC -18
00147 
00152 #define ERR_NAK -18
00153 
00158 #define ERR_UNCONFIG -19
00159 
00160 #endif


sr_communications
Author(s): Raul Perula-Martinez , Victor Gonzalez
autogenerated on Wed Aug 26 2015 16:26:47