ISIX-RTOS - small operating system for ARM microcontrollers 1.2
|
00001 #ifndef ISIX_ERROR_H_ 00002 #define ISIX_ERROR_H_ 00003 00004 /*--------------------------------------------------*/ 00005 #ifdef __cplusplus 00006 namespace isix 00007 { 00008 #endif 00009 00010 /*--------------------------------------------------*/ 00012 enum isix_error 00013 { 00014 ISIX_EOK = 0, 00015 ISIX_ENOMEM = -1, 00016 ISIX_ETIMEOUT = -2, 00017 ISIX_EINVARG = -3, 00018 ISIX_EFIFOFULL = -4, 00019 ISIX_EBUSY = -5, 00020 ISIX_ENOPRIO = -6 00021 }; 00022 00023 /*--------------------------------------------------*/ 00024 #ifdef __cplusplus 00025 } 00026 #endif /* __cplusplus */ 00027 00028 /*--------------------------------------------------*/ 00029 #endif /* _ISIX_ERROR_H__ */ 00030 00031 /*--------------------------------------------------*/