ECE4180 Drum Auto-Transcription Project
Dependencies: FatFileSystemCpp mbed
Fork of MSCUsbHost by
USBHostLite/usbhost_err.h@4:904fd1d62e04, 2012-10-11 (annotated)
- Committer:
- M_quettan
- Date:
- Thu Oct 11 18:28:04 2012 +0000
- Revision:
- 4:904fd1d62e04
- Parent:
- 0:e294af8d0e07
ECE4180 Drum Auto-Transcription Project
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
igorsk | 0:e294af8d0e07 | 1 | /* |
igorsk | 0:e294af8d0e07 | 2 | ************************************************************************************************************** |
igorsk | 0:e294af8d0e07 | 3 | * NXP USB Host Stack |
igorsk | 0:e294af8d0e07 | 4 | * |
igorsk | 0:e294af8d0e07 | 5 | * (c) Copyright 2008, NXP SemiConductors |
igorsk | 0:e294af8d0e07 | 6 | * (c) Copyright 2008, OnChip Technologies LLC |
igorsk | 0:e294af8d0e07 | 7 | * All Rights Reserved |
igorsk | 0:e294af8d0e07 | 8 | * |
igorsk | 0:e294af8d0e07 | 9 | * www.nxp.com |
igorsk | 0:e294af8d0e07 | 10 | * www.onchiptech.com |
igorsk | 0:e294af8d0e07 | 11 | * |
igorsk | 0:e294af8d0e07 | 12 | * File : usbhost_err.h |
igorsk | 0:e294af8d0e07 | 13 | * Programmer(s) : Ravikanth.P |
igorsk | 0:e294af8d0e07 | 14 | * Version : |
igorsk | 0:e294af8d0e07 | 15 | * |
igorsk | 0:e294af8d0e07 | 16 | ************************************************************************************************************** |
igorsk | 0:e294af8d0e07 | 17 | */ |
igorsk | 0:e294af8d0e07 | 18 | |
igorsk | 0:e294af8d0e07 | 19 | #ifndef USBHOST_ERR_H |
igorsk | 0:e294af8d0e07 | 20 | #define USBHOST_ERR_H |
igorsk | 0:e294af8d0e07 | 21 | |
igorsk | 0:e294af8d0e07 | 22 | |
igorsk | 0:e294af8d0e07 | 23 | /* |
igorsk | 0:e294af8d0e07 | 24 | ************************************************************************************************************** |
igorsk | 0:e294af8d0e07 | 25 | * GENERAL DEFINITIONS |
igorsk | 0:e294af8d0e07 | 26 | ************************************************************************************************************** |
igorsk | 0:e294af8d0e07 | 27 | */ |
igorsk | 0:e294af8d0e07 | 28 | |
igorsk | 0:e294af8d0e07 | 29 | #define OK 0 |
igorsk | 0:e294af8d0e07 | 30 | #define MATCH_FOUND 0 |
igorsk | 0:e294af8d0e07 | 31 | |
igorsk | 0:e294af8d0e07 | 32 | /* |
igorsk | 0:e294af8d0e07 | 33 | ************************************************************************************************************** |
igorsk | 0:e294af8d0e07 | 34 | * HOST CONTROLLER SPECIFIC ERROR CODES |
igorsk | 0:e294af8d0e07 | 35 | ************************************************************************************************************** |
igorsk | 0:e294af8d0e07 | 36 | */ |
igorsk | 0:e294af8d0e07 | 37 | |
igorsk | 0:e294af8d0e07 | 38 | #define ERR_TD_FAIL -1 |
igorsk | 0:e294af8d0e07 | 39 | |
igorsk | 0:e294af8d0e07 | 40 | /* |
igorsk | 0:e294af8d0e07 | 41 | ************************************************************************************************************** |
igorsk | 0:e294af8d0e07 | 42 | * MASS STORAGE SPECIFIC ERROR CODES |
igorsk | 0:e294af8d0e07 | 43 | ************************************************************************************************************** |
igorsk | 0:e294af8d0e07 | 44 | */ |
igorsk | 0:e294af8d0e07 | 45 | |
igorsk | 0:e294af8d0e07 | 46 | #define ERR_MS_CMD_FAILED -10 |
igorsk | 0:e294af8d0e07 | 47 | #define ERR_BAD_CONFIGURATION -11 |
igorsk | 0:e294af8d0e07 | 48 | #define ERR_NO_MS_INTERFACE -12 |
igorsk | 0:e294af8d0e07 | 49 | |
igorsk | 0:e294af8d0e07 | 50 | /* |
igorsk | 0:e294af8d0e07 | 51 | ************************************************************************************************************** |
igorsk | 0:e294af8d0e07 | 52 | * FAT SPECIFIC ERROR CODES |
igorsk | 0:e294af8d0e07 | 53 | ************************************************************************************************************** |
igorsk | 0:e294af8d0e07 | 54 | */ |
igorsk | 0:e294af8d0e07 | 55 | |
igorsk | 0:e294af8d0e07 | 56 | #define MATCH_NOT_FOUND -20 |
igorsk | 0:e294af8d0e07 | 57 | #define ERR_FAT_NOT_SUPPORTED -21 |
igorsk | 0:e294af8d0e07 | 58 | #define ERR_OPEN_LIMIT_REACHED -22 |
igorsk | 0:e294af8d0e07 | 59 | #define ERR_INVALID_BOOT_SIG -23 |
igorsk | 0:e294af8d0e07 | 60 | #define ERR_INVALID_BOOT_SEC -24 |
igorsk | 0:e294af8d0e07 | 61 | #define ERR_ROOT_DIR_FULL -25 |
igorsk | 0:e294af8d0e07 | 62 | |
igorsk | 0:e294af8d0e07 | 63 | #endif |