Xmega Application Note | |||||
Status code definitions. More...
Go to the source code of this file.
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, OPERATION_IN_PROGRESS = -128 } |
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 Atmel Corporation. All rights reserved.
Definition in file status_codes.h.
typedef enum status_code status_code_t |
Definition at line 79 of file status_codes.h.
enum status_code |
Status code that may be returned by shell commands and protocol implementations.
Definition at line 53 of file status_codes.h.
00053 { 00054 STATUS_OK = 0, 00055 ERR_IO_ERROR = -1, 00056 ERR_FLUSHED = -2, 00057 ERR_TIMEOUT = -3, 00058 ERR_BAD_DATA = -4, 00059 ERR_PROTOCOL = -5, 00060 ERR_UNSUPPORTED_DEV = -6, 00061 ERR_NO_MEMORY = -7, 00062 ERR_INVALID_ARG = -8, 00063 ERR_BAD_ADDRESS = -9, 00064 ERR_BUSY = -10, 00065 ERR_BAD_FORMAT = -11, 00066 00076 OPERATION_IN_PROGRESS = -128, 00077 };
Generated on Fri Oct 22 12:15:25 2010 for AVR1300 Using the Xmega ADC by ![]() |