include/status-codes.h File Reference

Status code definitions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define STATUS_IN_PROGRESS   1024
 Operation in progress.

Enumerations

enum  status_code {
  STATUS_OK = 0, STATUS_INVALID_PARAM = 1, STATUS_PROTO_ERROR = 2, STATUS_READ_FAILED = 3,
  STATUS_WRITE_FAILED = 4, STATUS_INSUFF_RESOURCES = 5, STATUS_BAD_ADDRESS = 6, STATUS_INVALID_IMAGE = 7,
  STATUS_UNSUPP_TAG = 8, STATUS_INTERNAL_ERROR = 9, STATUS_BAD_COMMAND = 10, STATUS_TIMEOUT = 11,
  STATUS_UNSUPP_CHIP = 12, STATUS_IO_ERROR = 13, STATUS_CORRUPTED_IMAGE = 14, STATUS_ERASE_FAILED = 15,
  STATUS_FLUSHED = 16
}


Detailed Description

Status code definitions.

This file defines various status codes returned by functions, indicating success or failure as well as what kind of failure.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file status-codes.h.


Define Documentation

#define STATUS_IN_PROGRESS   1024

Operation in progress.

This status code is for driver-internal use when an operation is currently being performed.

Note:
Drivers should never return this status code to any callers. It is strictly for internal use. Operation in progress

Definition at line 86 of file status-codes.h.

Referenced by aesblk_prepare_req(), and sdmmc_mcihost_load_data().


Enumeration Type Documentation

Status code that may be returned by shell commands and protocol implementations. The value returned will be the negative of these codes.

Note:
Any change to these status codes and the corresponding message strings is strictly forbidden. New codes can be added, however, but make sure that any message string tables are updated at the same time.
Enumerator:
STATUS_OK  Success
STATUS_INVALID_PARAM  Invalid argument
STATUS_PROTO_ERROR  Protocol error
STATUS_READ_FAILED  Read operation failed
STATUS_WRITE_FAILED  Write operation failed
STATUS_INSUFF_RESOURCES  Insufficient resources
STATUS_BAD_ADDRESS  Bad address
STATUS_INVALID_IMAGE  Image format error
STATUS_UNSUPP_TAG  Unsupported tag in image
STATUS_INTERNAL_ERROR  Internal error
STATUS_BAD_COMMAND  No such command
STATUS_TIMEOUT  Operation timed out
STATUS_UNSUPP_CHIP  Unsupported chip
STATUS_IO_ERROR  I/O error
STATUS_CORRUPTED_IMAGE  Image is corrupted
STATUS_ERASE_FAILED  Erase operation failed
STATUS_FLUSHED  Request flushed from queue

Definition at line 57 of file status-codes.h.


Generated on Tue Sep 15 10:21:31 2009 for libavr32 by  doxygen 1.5.8