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