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