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