ARMEBS4  revision-26.06.2015
Enumerations
Status (or errors)

Error codes. More...

Collaboration diagram for Status (or errors):

Enumerations

enum  status_e {
  NO_ERROR,
  ERROR_FAILED,
  ERROR_NULL_PARAM,
  ERROR_AGAIN,
  ERROR_BAD_PARAM,
  ERROR_BAD_SWITCH,
  ERROR_TIMEOUT,
  ERROR_NOT_SUPPORTED,
  ERROR_HW_FAILED,
  ERROR_BAD_STATE,
  ERROR_STACK_OVERFLOW,
  ERROR_OUT_OF_MEMORY,
  ERROR_MAIN_FINISHED,
  ERROR_IRQ_NOT_HANDLED,
  ERROR_CONFIG,
  ERROR_TOO_BIG,
  ERROR_DMA_UNDERRUN,
  ERROR_BAD_ALIGN,
  ERROR_FREERTOS_CONFIG_ASSERT,
  ERROR_BUS_NOINIT,
  ERROR_BUS_INACTIVE,
  ERROR_BUS_SUSPENDED,
  ERROR_BUS_BAD_STATE ,
  ERROR_SD_NOT_PRESENT,
  ERROR_SD_ACCESS_FAILED,
  ERROR_TRACE_FAILED,
  ERROR_EEPROM_BAD_MAGIC,
  ERROR_EEPROM_BAD_CALIB,
  _ERROR_APP_START,
  _ERROR_APP_END,
  ERROR_0_TBD
}
 Known errors. More...
 

Detailed Description

Error codes.

Enumeration Type Documentation

enum status_e

Known errors.

Enumerator
NO_ERROR 

No error.

This function was successful.

ERROR_FAILED 

Unspecified error.

There is no more details about what has failed.

ERROR_NULL_PARAM 

NULL parameter.

A parameter with a NULL value was passed, and this is not supported.

ERROR_AGAIN 

Retry later.

This function (device) is currently busy, retry later.

ERROR_BAD_PARAM 

Parameter unsupported.

A parameter was not supported by the function.

ERROR_BAD_SWITCH 

Impossible switch value.

According to the code, theImpossible switch value

ERROR_TIMEOUT 

No comment.

ERROR_NOT_SUPPORTED 

Function is not available.

ERROR_HW_FAILED 

You should check your solder/cables.

ERROR_BAD_STATE 

Function called at bad time.

ERROR_STACK_OVERFLOW 

No comment.

ERROR_OUT_OF_MEMORY 

(or friend) failed

ERROR_MAIN_FINISHED 

main has finished (shouldn't happen in embedded software)

ERROR_IRQ_NOT_HANDLED 

Default interrupt handler fired.

ERROR_CONFIG 

Compile time configuration error.

ERROR_TOO_BIG 

Parameter too big.

ERROR_DMA_UNDERRUN 

No comment.

ERROR_BAD_ALIGN 

Pointer with wrong alignment.

ERROR_FREERTOS_CONFIG_ASSERT 

FreeRTOS configASSERT.

ERROR_BUS_NOINIT 

Have you called bus_init ?

ERROR_BUS_INACTIVE 

Have you called bus_get ?

ERROR_BUS_SUSPENDED 

Bus not operable while in power down.

ERROR_BUS_BAD_STATE 

see bus_get/bus_release and errors

ERROR_SD_NOT_PRESENT 

SD card not detected.

ERROR_SD_ACCESS_FAILED 

No comment.

ERROR_TRACE_FAILED 

No comment.

ERROR_EEPROM_BAD_MAGIC 

EEPROM is empty or has failed.

ERROR_EEPROM_BAD_CALIB 

EEPROM has no touchscreen calibration data.

_ERROR_APP_START 

Application specific range start.

_ERROR_APP_END 

Application specific range end.

ERROR_0_TBD 

Should not happen, this is a placeholder.

Definition at line 21 of file error.h.