Samir Bouaziz / FileSystem_POPS

Dependencies:   FatFileSystemCpp USBHostLite

Dependents:   m3PI_TP_POPS_II2015v0 m3PI_TP_POPS_II2015v0 ourproject m3PI_TP_SETI ... more

Committer:
WiredHome
Date:
Thu Oct 10 23:56:41 2013 +0000
Revision:
0:7304356c0790
File System interface for USB.

Who changed what in which revision?

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