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