status_codes.h
Go to the documentation of this file.
1 
36 /*
37  * Support and FAQ: visit <a href="https://www.microchip.com/support/">Microchip Support</a>
38  */
39 
40 #ifndef STATUS_CODES_H_INCLUDED
41 #define STATUS_CODES_H_INCLUDED
42 
43 /* Note: this is a local workaround to avoid a pre-processor clash due to the
44  * lwIP macro ERR_TIMEOUT. */
45 #if (defined(LWIP_HDR_ERR_H) || defined(__LWIP_ERR_H__)) && defined(ERR_TIMEOUT)
46 #if (ERR_TIMEOUT != -3)
47 
48 /* Internal check to make sure that the later restore of lwIP's ERR_TIMEOUT
49  * macro is set to the correct value. Note that it is highly improbable that
50  * this value ever changes in lwIP. */
51 #error ASF developers: check lwip err.h new value for ERR_TIMEOUT
52 #endif
53 #undef ERR_TIMEOUT
54 #endif
55 
66  STATUS_OK = 0,
70  ERR_IO_ERROR = -1,
71  ERR_FLUSHED = -2,
72  ERR_TIMEOUT = -3,
73  ERR_BAD_DATA = -4,
74  ERR_PROTOCOL = -5,
79  ERR_BUSY = -10,
81  ERR_NO_TIMER = -12,
84  ERR_ABORTED = -15,
85 
95 };
96 
98 
99 #if defined(LWIP_HDR_ERR_H)
100 #define ERR_TIMEOUT -3
101 #endif
102 
103 #endif /* STATUS_CODES_H_INCLUDED */
No timer available.
Definition: status_codes.h:81
Success.
Definition: status_codes.h:66
Operation timed out.
Definition: status_codes.h:72
Protocol error.
Definition: status_codes.h:74
status_code
Definition: status_codes.h:65
I/O error.
Definition: status_codes.h:70
Operation in progress.
Definition: status_codes.h:94
Insufficient memory.
Definition: status_codes.h:76
Resource is busy.
Definition: status_codes.h:79
Operation aborted by user.
Definition: status_codes.h:84
Request flushed from queue.
Definition: status_codes.h:71
enum status_code status_code_t
Definition: status_codes.h:97
Timer already running.
Definition: status_codes.h:82
Data integrity check failed.
Definition: status_codes.h:73
Data format not recognized.
Definition: status_codes.h:80
Timer not running.
Definition: status_codes.h:83
Unsupported device.
Definition: status_codes.h:75
Bad address.
Definition: status_codes.h:78
Invalid argument.
Definition: status_codes.h:77


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:58