working pedometer code using tickers
Dependencies: mbed PulseSensor2 SCP1000 4DGL-uLCD-SE LSM9DS1_Library_cal PinDetect FatFileSystemCpp GP-20U7
USBHostLite/usbhost_err.h@1:3b016acc5c55, 2020-04-21 (annotated)
- Committer:
- memig3
- Date:
- Tue Apr 21 22:56:01 2020 +0000
- Revision:
- 1:3b016acc5c55
- Parent:
- 0:bcfec522ef98
working pedometer code using tickers;
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 |