Global error code definitions. More...
Macros | |
#define | NRFX_ERROR_BASE_NUM 0x0BAD0000 |
Base number of error codes. | |
#define | NRFX_ERROR_DRIVERS_BASE_NUM (NRFX_ERROR_BASE_NUM + 0x10000) |
Base number of driver error codes. | |
Enumerations | |
enum | nrfx_err_t { NRFX_SUCCESS = ( 0x0BAD0000 + 0) , NRFX_ERROR_INTERNAL = ( 0x0BAD0000 + 1) , NRFX_ERROR_NO_MEM = ( 0x0BAD0000 + 2) , NRFX_ERROR_NOT_SUPPORTED = ( 0x0BAD0000 + 3) , NRFX_ERROR_INVALID_PARAM = ( 0x0BAD0000 + 4) , NRFX_ERROR_INVALID_STATE = ( 0x0BAD0000 + 5) , NRFX_ERROR_INVALID_LENGTH = ( 0x0BAD0000 + 6) , NRFX_ERROR_TIMEOUT = ( 0x0BAD0000 + 7) , NRFX_ERROR_FORBIDDEN = ( 0x0BAD0000 + 8) , NRFX_ERROR_NULL = ( 0x0BAD0000 + 9) , NRFX_ERROR_INVALID_ADDR = ( 0x0BAD0000 + 10) , NRFX_ERROR_BUSY = ( 0x0BAD0000 + 11) , NRFX_ERROR_ALREADY = ( 0x0BAD0000 + 12) , NRFX_ERROR_ALREADY_INITIALIZED = NRFX_ERROR_ALREADY , NRFX_ERROR_DRV_TWI_ERR_OVERRUN = ( ( 0x0BAD0000 + 0x10000) + 0) , NRFX_ERROR_DRV_TWI_ERR_ANACK = ( ( 0x0BAD0000 + 0x10000) + 1) , NRFX_ERROR_DRV_TWI_ERR_DNACK = ( ( 0x0BAD0000 + 0x10000) + 2) } |
Enumerated type for error codes. More... | |
Global error code definitions.
enum nrfx_err_t |
Enumerated type for error codes.
Enumerator | |
---|---|
NRFX_SUCCESS | Operation performed successfully. |
NRFX_ERROR_INTERNAL | Internal error. |
NRFX_ERROR_NO_MEM | No memory for operation. |
NRFX_ERROR_NOT_SUPPORTED | Not supported. |
NRFX_ERROR_INVALID_PARAM | Invalid parameter. |
NRFX_ERROR_INVALID_STATE | Invalid state, operation disallowed in this state. |
NRFX_ERROR_INVALID_LENGTH | Invalid length. |
NRFX_ERROR_TIMEOUT | Operation timed out. |
NRFX_ERROR_FORBIDDEN | Operation is forbidden. |
NRFX_ERROR_NULL | Null pointer. |
NRFX_ERROR_INVALID_ADDR | Bad memory address. |
NRFX_ERROR_BUSY | Busy. |
NRFX_ERROR_ALREADY | Operation already done. |
NRFX_ERROR_ALREADY_INITIALIZED |
|
NRFX_ERROR_DRV_TWI_ERR_OVERRUN | TWI error: Overrun. |
NRFX_ERROR_DRV_TWI_ERR_ANACK | TWI error: Address not acknowledged. |
NRFX_ERROR_DRV_TWI_ERR_DNACK | TWI error: Data not acknowledged. |