Bonjour/Zerconf library

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers usbhost_err.h Source File

usbhost_err.h

00001 
00002 /*
00003 Copyright (c) 2010 Donatien Garnier (donatiengar [at] gmail [dot] com)
00004  
00005 Permission is hereby granted, free of charge, to any person obtaining a copy
00006 of this software and associated documentation files (the "Software"), to deal
00007 in the Software without restriction, including without limitation the rights
00008 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
00009 copies of the Software, and to permit persons to whom the Software is
00010 furnished to do so, subject to the following conditions:
00011  
00012 The above copyright notice and this permission notice shall be included in
00013 all copies or substantial portions of the Software.
00014  
00015 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00016 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00017 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
00018 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
00019 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
00020 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
00021 THE SOFTWARE.
00022 */
00023 
00024 /*
00025 **************************************************************************************************************
00026 *                                                 NXP USB Host Stack
00027 *
00028 *                                     (c) Copyright 2008, NXP SemiConductors
00029 *                                     (c) Copyright 2008, OnChip  Technologies LLC
00030 *                                                 All Rights Reserved
00031 *
00032 *                                                  www.nxp.com
00033 *                                               www.onchiptech.com
00034 *
00035 * File           : usbhost_err.h
00036 * Programmer(s)  : Ravikanth.P
00037 * Version        :
00038 *
00039 **************************************************************************************************************
00040 */
00041 
00042 #ifndef  USBHOST_ERR_H
00043 #define  USBHOST_ERR_H
00044 
00045 
00046 /*
00047 **************************************************************************************************************
00048 *                                        GENERAL DEFINITIONS
00049 **************************************************************************************************************
00050 */
00051 
00052 #define  OK                        0
00053 #define  MATCH_FOUND               0
00054 
00055 /*
00056 **************************************************************************************************************
00057 *                                HOST CONTROLLER SPECIFIC ERROR CODES
00058 **************************************************************************************************************
00059 */
00060 
00061 #define  ERR_TD_FAIL              -1
00062 
00063 /*
00064 **************************************************************************************************************
00065 *                                  MASS STORAGE SPECIFIC ERROR CODES
00066 **************************************************************************************************************
00067 */
00068 
00069 #define  ERR_MS_CMD_FAILED       -10
00070 #define  ERR_BAD_CONFIGURATION   -11
00071 #define  ERR_NO_MS_INTERFACE     -12
00072 
00073 /*
00074 **************************************************************************************************************
00075 *                                      FAT SPECIFIC ERROR CODES
00076 **************************************************************************************************************
00077 */
00078 
00079 #define  MATCH_NOT_FOUND         -20
00080 #define  ERR_FAT_NOT_SUPPORTED   -21
00081 #define  ERR_OPEN_LIMIT_REACHED  -22
00082 #define  ERR_INVALID_BOOT_SIG    -23
00083 #define  ERR_INVALID_BOOT_SEC    -24
00084 #define  ERR_ROOT_DIR_FULL       -25
00085 
00086 #define  PROCESSING             -101
00087 #endif