Global Error Codes

group nrfx_error_codes

Global error code definitions.

Defines

NRFX_ERROR_BASE_NUM

Base number of error codes.

NRFX_ERROR_DRIVERS_BASE_NUM

Base number of driver error codes.

Enums

enum nrfx_err_t

Enumerated type for error codes.

Values:

enumerator NRFX_SUCCESS

Operation performed successfully.

enumerator NRFX_ERROR_INTERNAL

Internal error.

enumerator NRFX_ERROR_NO_MEM

No memory for operation.

enumerator NRFX_ERROR_NOT_SUPPORTED

Not supported.

enumerator NRFX_ERROR_INVALID_PARAM

Invalid parameter.

enumerator NRFX_ERROR_INVALID_STATE

Invalid state, operation disallowed in this state.

enumerator NRFX_ERROR_INVALID_LENGTH

Invalid length.

enumerator NRFX_ERROR_TIMEOUT

Operation timed out.

enumerator NRFX_ERROR_FORBIDDEN

Operation is forbidden.

enumerator NRFX_ERROR_NULL

Null pointer.

enumerator NRFX_ERROR_INVALID_ADDR

Bad memory address.

enumerator NRFX_ERROR_BUSY

Busy.

enumerator NRFX_ERROR_ALREADY

Operation already done.

enumerator NRFX_ERROR_ALREADY_INITIALIZED

Deprecated:

Use NRFX_ERROR_ALREADY instead.

enumerator NRFX_ERROR_DRV_TWI_ERR_OVERRUN

TWI error: Overrun.

enumerator NRFX_ERROR_DRV_TWI_ERR_ANACK

TWI error: Address not acknowledged.

enumerator NRFX_ERROR_DRV_TWI_ERR_DNACK

TWI error: Data not acknowledged.