Programme d'une sonde de température DHT 11 associée à de la sauvegarde de données sur clé USB et à l'affichage de ces données sur afficheur LCD
Dependencies: FatFileSystemCpp mbed
USBHostLite/usbhost_err.h@0:ed0b4e66d2ad, 2015-06-02 (annotated)
- Committer:
- Fanta025
- Date:
- Tue Jun 02 14:19:54 2015 +0000
- Revision:
- 0:ed0b4e66d2ad
Programme d'une sonde de temp?rature DHT 11 associ?e ? de la sauvegarde de donn?es sur USB et un affichage sur ?cran LCD
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Fanta025 | 0:ed0b4e66d2ad | 1 | /* |
Fanta025 | 0:ed0b4e66d2ad | 2 | ************************************************************************************************************** |
Fanta025 | 0:ed0b4e66d2ad | 3 | * NXP USB Host Stack |
Fanta025 | 0:ed0b4e66d2ad | 4 | * |
Fanta025 | 0:ed0b4e66d2ad | 5 | * (c) Copyright 2008, NXP SemiConductors |
Fanta025 | 0:ed0b4e66d2ad | 6 | * (c) Copyright 2008, OnChip Technologies LLC |
Fanta025 | 0:ed0b4e66d2ad | 7 | * All Rights Reserved |
Fanta025 | 0:ed0b4e66d2ad | 8 | * |
Fanta025 | 0:ed0b4e66d2ad | 9 | * www.nxp.com |
Fanta025 | 0:ed0b4e66d2ad | 10 | * www.onchiptech.com |
Fanta025 | 0:ed0b4e66d2ad | 11 | * |
Fanta025 | 0:ed0b4e66d2ad | 12 | * File : usbhost_err.h |
Fanta025 | 0:ed0b4e66d2ad | 13 | * Programmer(s) : Ravikanth.P |
Fanta025 | 0:ed0b4e66d2ad | 14 | * Version : |
Fanta025 | 0:ed0b4e66d2ad | 15 | * |
Fanta025 | 0:ed0b4e66d2ad | 16 | ************************************************************************************************************** |
Fanta025 | 0:ed0b4e66d2ad | 17 | */ |
Fanta025 | 0:ed0b4e66d2ad | 18 | |
Fanta025 | 0:ed0b4e66d2ad | 19 | #ifndef USBHOST_ERR_H |
Fanta025 | 0:ed0b4e66d2ad | 20 | #define USBHOST_ERR_H |
Fanta025 | 0:ed0b4e66d2ad | 21 | |
Fanta025 | 0:ed0b4e66d2ad | 22 | |
Fanta025 | 0:ed0b4e66d2ad | 23 | /* |
Fanta025 | 0:ed0b4e66d2ad | 24 | ************************************************************************************************************** |
Fanta025 | 0:ed0b4e66d2ad | 25 | * GENERAL DEFINITIONS |
Fanta025 | 0:ed0b4e66d2ad | 26 | ************************************************************************************************************** |
Fanta025 | 0:ed0b4e66d2ad | 27 | */ |
Fanta025 | 0:ed0b4e66d2ad | 28 | |
Fanta025 | 0:ed0b4e66d2ad | 29 | #define OK 0 |
Fanta025 | 0:ed0b4e66d2ad | 30 | #define MATCH_FOUND 0 |
Fanta025 | 0:ed0b4e66d2ad | 31 | |
Fanta025 | 0:ed0b4e66d2ad | 32 | /* |
Fanta025 | 0:ed0b4e66d2ad | 33 | ************************************************************************************************************** |
Fanta025 | 0:ed0b4e66d2ad | 34 | * HOST CONTROLLER SPECIFIC ERROR CODES |
Fanta025 | 0:ed0b4e66d2ad | 35 | ************************************************************************************************************** |
Fanta025 | 0:ed0b4e66d2ad | 36 | */ |
Fanta025 | 0:ed0b4e66d2ad | 37 | |
Fanta025 | 0:ed0b4e66d2ad | 38 | #define ERR_TD_FAIL -1 |
Fanta025 | 0:ed0b4e66d2ad | 39 | |
Fanta025 | 0:ed0b4e66d2ad | 40 | /* |
Fanta025 | 0:ed0b4e66d2ad | 41 | ************************************************************************************************************** |
Fanta025 | 0:ed0b4e66d2ad | 42 | * MASS STORAGE SPECIFIC ERROR CODES |
Fanta025 | 0:ed0b4e66d2ad | 43 | ************************************************************************************************************** |
Fanta025 | 0:ed0b4e66d2ad | 44 | */ |
Fanta025 | 0:ed0b4e66d2ad | 45 | |
Fanta025 | 0:ed0b4e66d2ad | 46 | #define ERR_MS_CMD_FAILED -10 |
Fanta025 | 0:ed0b4e66d2ad | 47 | #define ERR_BAD_CONFIGURATION -11 |
Fanta025 | 0:ed0b4e66d2ad | 48 | #define ERR_NO_MS_INTERFACE -12 |
Fanta025 | 0:ed0b4e66d2ad | 49 | |
Fanta025 | 0:ed0b4e66d2ad | 50 | /* |
Fanta025 | 0:ed0b4e66d2ad | 51 | ************************************************************************************************************** |
Fanta025 | 0:ed0b4e66d2ad | 52 | * FAT SPECIFIC ERROR CODES |
Fanta025 | 0:ed0b4e66d2ad | 53 | ************************************************************************************************************** |
Fanta025 | 0:ed0b4e66d2ad | 54 | */ |
Fanta025 | 0:ed0b4e66d2ad | 55 | |
Fanta025 | 0:ed0b4e66d2ad | 56 | #define MATCH_NOT_FOUND -20 |
Fanta025 | 0:ed0b4e66d2ad | 57 | #define ERR_FAT_NOT_SUPPORTED -21 |
Fanta025 | 0:ed0b4e66d2ad | 58 | #define ERR_OPEN_LIMIT_REACHED -22 |
Fanta025 | 0:ed0b4e66d2ad | 59 | #define ERR_INVALID_BOOT_SIG -23 |
Fanta025 | 0:ed0b4e66d2ad | 60 | #define ERR_INVALID_BOOT_SEC -24 |
Fanta025 | 0:ed0b4e66d2ad | 61 | #define ERR_ROOT_DIR_FULL -25 |
Fanta025 | 0:ed0b4e66d2ad | 62 | |
Fanta025 | 0:ed0b4e66d2ad | 63 | #endif |