This is a repository for code relating to mbed Fitness Tracker
Dependencies: mbed PulseSensor2 SCP1000 mbed-rtos 4DGL-uLCD-SE LSM9DS1_Library_cal PinDetect FatFileSystemCpp GP-20U7
USBHostLite/usbhost_err.h@43:81f314c92d9f, 2020-04-28 (annotated)
- Committer:
- dyu2021
- Date:
- Tue Apr 28 20:00:56 2020 +0000
- Revision:
- 43:81f314c92d9f
- Parent:
- 18:9617bd66bdae
Changed serial_USB to output all lines of prev_text, not hard set to 7
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
memig3 | 18:9617bd66bdae | 1 | /* |
memig3 | 18:9617bd66bdae | 2 | ************************************************************************************************************** |
memig3 | 18:9617bd66bdae | 3 | * NXP USB Host Stack |
memig3 | 18:9617bd66bdae | 4 | * |
memig3 | 18:9617bd66bdae | 5 | * (c) Copyright 2008, NXP SemiConductors |
memig3 | 18:9617bd66bdae | 6 | * (c) Copyright 2008, OnChip Technologies LLC |
memig3 | 18:9617bd66bdae | 7 | * All Rights Reserved |
memig3 | 18:9617bd66bdae | 8 | * |
memig3 | 18:9617bd66bdae | 9 | * www.nxp.com |
memig3 | 18:9617bd66bdae | 10 | * www.onchiptech.com |
memig3 | 18:9617bd66bdae | 11 | * |
memig3 | 18:9617bd66bdae | 12 | * File : usbhost_err.h |
memig3 | 18:9617bd66bdae | 13 | * Programmer(s) : Ravikanth.P |
memig3 | 18:9617bd66bdae | 14 | * Version : |
memig3 | 18:9617bd66bdae | 15 | * |
memig3 | 18:9617bd66bdae | 16 | ************************************************************************************************************** |
memig3 | 18:9617bd66bdae | 17 | */ |
memig3 | 18:9617bd66bdae | 18 | |
memig3 | 18:9617bd66bdae | 19 | #ifndef USBHOST_ERR_H |
memig3 | 18:9617bd66bdae | 20 | #define USBHOST_ERR_H |
memig3 | 18:9617bd66bdae | 21 | |
memig3 | 18:9617bd66bdae | 22 | |
memig3 | 18:9617bd66bdae | 23 | /* |
memig3 | 18:9617bd66bdae | 24 | ************************************************************************************************************** |
memig3 | 18:9617bd66bdae | 25 | * GENERAL DEFINITIONS |
memig3 | 18:9617bd66bdae | 26 | ************************************************************************************************************** |
memig3 | 18:9617bd66bdae | 27 | */ |
memig3 | 18:9617bd66bdae | 28 | |
memig3 | 18:9617bd66bdae | 29 | #define OK 0 |
memig3 | 18:9617bd66bdae | 30 | #define MATCH_FOUND 0 |
memig3 | 18:9617bd66bdae | 31 | |
memig3 | 18:9617bd66bdae | 32 | /* |
memig3 | 18:9617bd66bdae | 33 | ************************************************************************************************************** |
memig3 | 18:9617bd66bdae | 34 | * HOST CONTROLLER SPECIFIC ERROR CODES |
memig3 | 18:9617bd66bdae | 35 | ************************************************************************************************************** |
memig3 | 18:9617bd66bdae | 36 | */ |
memig3 | 18:9617bd66bdae | 37 | |
memig3 | 18:9617bd66bdae | 38 | #define ERR_TD_FAIL -1 |
memig3 | 18:9617bd66bdae | 39 | |
memig3 | 18:9617bd66bdae | 40 | /* |
memig3 | 18:9617bd66bdae | 41 | ************************************************************************************************************** |
memig3 | 18:9617bd66bdae | 42 | * MASS STORAGE SPECIFIC ERROR CODES |
memig3 | 18:9617bd66bdae | 43 | ************************************************************************************************************** |
memig3 | 18:9617bd66bdae | 44 | */ |
memig3 | 18:9617bd66bdae | 45 | |
memig3 | 18:9617bd66bdae | 46 | #define ERR_MS_CMD_FAILED -10 |
memig3 | 18:9617bd66bdae | 47 | #define ERR_BAD_CONFIGURATION -11 |
memig3 | 18:9617bd66bdae | 48 | #define ERR_NO_MS_INTERFACE -12 |
memig3 | 18:9617bd66bdae | 49 | |
memig3 | 18:9617bd66bdae | 50 | /* |
memig3 | 18:9617bd66bdae | 51 | ************************************************************************************************************** |
memig3 | 18:9617bd66bdae | 52 | * FAT SPECIFIC ERROR CODES |
memig3 | 18:9617bd66bdae | 53 | ************************************************************************************************************** |
memig3 | 18:9617bd66bdae | 54 | */ |
memig3 | 18:9617bd66bdae | 55 | |
memig3 | 18:9617bd66bdae | 56 | #define MATCH_NOT_FOUND -20 |
memig3 | 18:9617bd66bdae | 57 | #define ERR_FAT_NOT_SUPPORTED -21 |
memig3 | 18:9617bd66bdae | 58 | #define ERR_OPEN_LIMIT_REACHED -22 |
memig3 | 18:9617bd66bdae | 59 | #define ERR_INVALID_BOOT_SIG -23 |
memig3 | 18:9617bd66bdae | 60 | #define ERR_INVALID_BOOT_SEC -24 |
memig3 | 18:9617bd66bdae | 61 | #define ERR_ROOT_DIR_FULL -25 |
memig3 | 18:9617bd66bdae | 62 | |
memig3 | 18:9617bd66bdae | 63 | #endif |