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