Atmel Software Framework

status_codes.h File Reference

Status code definitions.

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

Copyright (c) 2009-2013 Atmel Corporation. All rights reserved.

Typedefs

typedef enum status_code status_code_t
 

Enumerations

enum  status_code {
  STATUS_OK = 0,
  ERR_IO_ERROR = -1,
  ERR_FLUSHED = -2,
  ERR_TIMEOUT = -3,
  ERR_BAD_DATA = -4,
  ERR_PROTOCOL = -5,
  ERR_UNSUPPORTED_DEV = -6,
  ERR_NO_MEMORY = -7,
  ERR_INVALID_ARG = -8,
  ERR_BAD_ADDRESS = -9,
  ERR_BUSY = -10,
  ERR_BAD_FORMAT = -11,
  ERR_NO_TIMER = -12,
  ERR_TIMER_ALREADY_RUNNING = -13,
  ERR_TIMER_NOT_RUNNING = -14,
  OPERATION_IN_PROGRESS = -128
}
 Status code that may be returned by shell commands and protocol implementations. More...