MAX32665 SDK Documentation  0.2
Software Development Kit Overview and API Documentation
Error Codes

A list of common error codes used by the API. More...

Macros

#define E_NO_ERROR   0
 No Error.
 
#define E_SUCCESS   0
 No Error, success.
 
#define E_NULL_PTR   -1
 Pointer is NULL.
 
#define E_NO_DEVICE   -2
 No such device.
 
#define E_BAD_PARAM   -3
 Parameter not acceptable.
 
#define E_INVALID   -4
 Value not valid or allowed.
 
#define E_UNINITIALIZED   -5
 Module not initialized.
 
#define E_BUSY   -6
 Busy now, try again later.
 
#define E_BAD_STATE   -7
 Operation not allowed in current state.
 
#define E_UNKNOWN   -8
 Generic error.
 
#define E_COMM_ERR   -9
 General communications error.
 
#define E_TIME_OUT   -10
 Operation timed out.
 
#define E_NO_RESPONSE   -11
 Expected response did not occur.
 
#define E_OVERFLOW   -12
 Operations resulted in unexpected overflow.
 
#define E_UNDERFLOW   -13
 Operations resulted in unexpected underflow.
 
#define E_NONE_AVAIL   -14
 Data or resource not available at this time.
 
#define E_SHUTDOWN   -15
 Event was shutdown.
 
#define E_ABORT   -16
 Event was aborted.
 
#define E_NOT_SUPPORTED   -17
 The requested operation is not supported.
 

Detailed Description

Note
A Negative Error Convention is used to avoid conflict with positive, Non-Error, returns.