![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
USB Host Lite downloaded from NXP web site. Untested! Compiled, dropped on MBED, booted up, and get the console message that it is initializing the stack. I however do not have the ability to connect a USB Memory device to test it.
Include/usbhost_err.h@0:0826fcc5d020, 2010-01-13 (annotated)
- Committer:
- mshoemaker
- Date:
- Wed Jan 13 01:29:30 2010 +0000
- Revision:
- 0:0826fcc5d020
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mshoemaker | 0:0826fcc5d020 | 1 | /* |
mshoemaker | 0:0826fcc5d020 | 2 | ************************************************************************************************************** |
mshoemaker | 0:0826fcc5d020 | 3 | * NXP USB Host Stack |
mshoemaker | 0:0826fcc5d020 | 4 | * |
mshoemaker | 0:0826fcc5d020 | 5 | * (c) Copyright 2008, NXP SemiConductors |
mshoemaker | 0:0826fcc5d020 | 6 | * (c) Copyright 2008, OnChip Technologies LLC |
mshoemaker | 0:0826fcc5d020 | 7 | * All Rights Reserved |
mshoemaker | 0:0826fcc5d020 | 8 | * |
mshoemaker | 0:0826fcc5d020 | 9 | * www.nxp.com |
mshoemaker | 0:0826fcc5d020 | 10 | * www.onchiptech.com |
mshoemaker | 0:0826fcc5d020 | 11 | * |
mshoemaker | 0:0826fcc5d020 | 12 | * File : usbhost_err.h |
mshoemaker | 0:0826fcc5d020 | 13 | * Programmer(s) : Ravikanth.P |
mshoemaker | 0:0826fcc5d020 | 14 | * Version : |
mshoemaker | 0:0826fcc5d020 | 15 | * |
mshoemaker | 0:0826fcc5d020 | 16 | ************************************************************************************************************** |
mshoemaker | 0:0826fcc5d020 | 17 | */ |
mshoemaker | 0:0826fcc5d020 | 18 | |
mshoemaker | 0:0826fcc5d020 | 19 | #ifndef USBHOST_ERR_H |
mshoemaker | 0:0826fcc5d020 | 20 | #define USBHOST_ERR_H |
mshoemaker | 0:0826fcc5d020 | 21 | |
mshoemaker | 0:0826fcc5d020 | 22 | |
mshoemaker | 0:0826fcc5d020 | 23 | /* |
mshoemaker | 0:0826fcc5d020 | 24 | ************************************************************************************************************** |
mshoemaker | 0:0826fcc5d020 | 25 | * GENERAL DEFINITIONS |
mshoemaker | 0:0826fcc5d020 | 26 | ************************************************************************************************************** |
mshoemaker | 0:0826fcc5d020 | 27 | */ |
mshoemaker | 0:0826fcc5d020 | 28 | |
mshoemaker | 0:0826fcc5d020 | 29 | #define OK 0 |
mshoemaker | 0:0826fcc5d020 | 30 | #define MATCH_FOUND 0 |
mshoemaker | 0:0826fcc5d020 | 31 | |
mshoemaker | 0:0826fcc5d020 | 32 | /* |
mshoemaker | 0:0826fcc5d020 | 33 | ************************************************************************************************************** |
mshoemaker | 0:0826fcc5d020 | 34 | * HOST CONTROLLER SPECIFIC ERROR CODES |
mshoemaker | 0:0826fcc5d020 | 35 | ************************************************************************************************************** |
mshoemaker | 0:0826fcc5d020 | 36 | */ |
mshoemaker | 0:0826fcc5d020 | 37 | |
mshoemaker | 0:0826fcc5d020 | 38 | #define ERR_TD_FAIL -1 |
mshoemaker | 0:0826fcc5d020 | 39 | |
mshoemaker | 0:0826fcc5d020 | 40 | /* |
mshoemaker | 0:0826fcc5d020 | 41 | ************************************************************************************************************** |
mshoemaker | 0:0826fcc5d020 | 42 | * MASS STORAGE SPECIFIC ERROR CODES |
mshoemaker | 0:0826fcc5d020 | 43 | ************************************************************************************************************** |
mshoemaker | 0:0826fcc5d020 | 44 | */ |
mshoemaker | 0:0826fcc5d020 | 45 | |
mshoemaker | 0:0826fcc5d020 | 46 | #define ERR_MS_CMD_FAILED -10 |
mshoemaker | 0:0826fcc5d020 | 47 | #define ERR_BAD_CONFIGURATION -11 |
mshoemaker | 0:0826fcc5d020 | 48 | #define ERR_NO_MS_INTERFACE -12 |
mshoemaker | 0:0826fcc5d020 | 49 | |
mshoemaker | 0:0826fcc5d020 | 50 | /* |
mshoemaker | 0:0826fcc5d020 | 51 | ************************************************************************************************************** |
mshoemaker | 0:0826fcc5d020 | 52 | * FAT SPECIFIC ERROR CODES |
mshoemaker | 0:0826fcc5d020 | 53 | ************************************************************************************************************** |
mshoemaker | 0:0826fcc5d020 | 54 | */ |
mshoemaker | 0:0826fcc5d020 | 55 | |
mshoemaker | 0:0826fcc5d020 | 56 | #define MATCH_NOT_FOUND -20 |
mshoemaker | 0:0826fcc5d020 | 57 | #define ERR_FAT_NOT_SUPPORTED -21 |
mshoemaker | 0:0826fcc5d020 | 58 | #define ERR_OPEN_LIMIT_REACHED -22 |
mshoemaker | 0:0826fcc5d020 | 59 | #define ERR_INVALID_BOOT_SIG -23 |
mshoemaker | 0:0826fcc5d020 | 60 | #define ERR_INVALID_BOOT_SEC -24 |
mshoemaker | 0:0826fcc5d020 | 61 | #define ERR_ROOT_DIR_FULL -25 |
mshoemaker | 0:0826fcc5d020 | 62 | |
mshoemaker | 0:0826fcc5d020 | 63 | #endif |