SD

Dependents:   Andar_Linha_Reta_Robo_Claw_v1

Fork of MSCFileSystem by Chris Styles

Committer:
chris
Date:
Tue Apr 05 23:36:08 2011 +0000
Revision:
0:3e7d2baed4b4
Child:
5:59daf2b48180

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
chris 0:3e7d2baed4b4 1 /*
chris 0:3e7d2baed4b4 2 **************************************************************************************************************
chris 0:3e7d2baed4b4 3 * NXP USB Host Stack
chris 0:3e7d2baed4b4 4 *
chris 0:3e7d2baed4b4 5 * (c) Copyright 2008, NXP SemiConductors
chris 0:3e7d2baed4b4 6 * (c) Copyright 2008, OnChip Technologies LLC
chris 0:3e7d2baed4b4 7 * All Rights Reserved
chris 0:3e7d2baed4b4 8 *
chris 0:3e7d2baed4b4 9 * www.nxp.com
chris 0:3e7d2baed4b4 10 * www.onchiptech.com
chris 0:3e7d2baed4b4 11 *
chris 0:3e7d2baed4b4 12 * File : usbhost_err.h
chris 0:3e7d2baed4b4 13 * Programmer(s) : Ravikanth.P
chris 0:3e7d2baed4b4 14 * Version :
chris 0:3e7d2baed4b4 15 *
chris 0:3e7d2baed4b4 16 **************************************************************************************************************
chris 0:3e7d2baed4b4 17 */
chris 0:3e7d2baed4b4 18
chris 0:3e7d2baed4b4 19 #ifndef USBHOST_ERR_H
chris 0:3e7d2baed4b4 20 #define USBHOST_ERR_H
chris 0:3e7d2baed4b4 21
chris 0:3e7d2baed4b4 22
chris 0:3e7d2baed4b4 23 /*
chris 0:3e7d2baed4b4 24 **************************************************************************************************************
chris 0:3e7d2baed4b4 25 * GENERAL DEFINITIONS
chris 0:3e7d2baed4b4 26 **************************************************************************************************************
chris 0:3e7d2baed4b4 27 */
chris 0:3e7d2baed4b4 28
chris 0:3e7d2baed4b4 29 #define OK 0
chris 0:3e7d2baed4b4 30 #define MATCH_FOUND 0
chris 0:3e7d2baed4b4 31
chris 0:3e7d2baed4b4 32 /*
chris 0:3e7d2baed4b4 33 **************************************************************************************************************
chris 0:3e7d2baed4b4 34 * HOST CONTROLLER SPECIFIC ERROR CODES
chris 0:3e7d2baed4b4 35 **************************************************************************************************************
chris 0:3e7d2baed4b4 36 */
chris 0:3e7d2baed4b4 37
chris 0:3e7d2baed4b4 38 #define ERR_TD_FAIL -1
chris 0:3e7d2baed4b4 39
chris 0:3e7d2baed4b4 40 /*
chris 0:3e7d2baed4b4 41 **************************************************************************************************************
chris 0:3e7d2baed4b4 42 * MASS STORAGE SPECIFIC ERROR CODES
chris 0:3e7d2baed4b4 43 **************************************************************************************************************
chris 0:3e7d2baed4b4 44 */
chris 0:3e7d2baed4b4 45
chris 0:3e7d2baed4b4 46 #define ERR_MS_CMD_FAILED -10
chris 0:3e7d2baed4b4 47 #define ERR_BAD_CONFIGURATION -11
chris 0:3e7d2baed4b4 48 #define ERR_NO_MS_INTERFACE -12
chris 0:3e7d2baed4b4 49
chris 0:3e7d2baed4b4 50 /*
chris 0:3e7d2baed4b4 51 **************************************************************************************************************
chris 0:3e7d2baed4b4 52 * FAT SPECIFIC ERROR CODES
chris 0:3e7d2baed4b4 53 **************************************************************************************************************
chris 0:3e7d2baed4b4 54 */
chris 0:3e7d2baed4b4 55
chris 0:3e7d2baed4b4 56 #define MATCH_NOT_FOUND -20
chris 0:3e7d2baed4b4 57 #define ERR_FAT_NOT_SUPPORTED -21
chris 0:3e7d2baed4b4 58 #define ERR_OPEN_LIMIT_REACHED -22
chris 0:3e7d2baed4b4 59 #define ERR_INVALID_BOOT_SIG -23
chris 0:3e7d2baed4b4 60 #define ERR_INVALID_BOOT_SEC -24
chris 0:3e7d2baed4b4 61 #define ERR_ROOT_DIR_FULL -25
chris 0:3e7d2baed4b4 62
chris 0:3e7d2baed4b4 63 #endif