Dual CANbus monitor and instrumentation cluster. Presently tuned for the Nissan Leaf EV.

Dependencies:   SPI_TFTx2_ILI9341 TFT_fonts TOUCH_TFTx2_ILI9341 mbed

Fork of CANary_corrupt by Tick Tock

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers usbhost_err.h Source File

usbhost_err.h

00001 /*
00002 **************************************************************************************************************
00003 *                                                 NXP USB Host Stack
00004 *
00005 *                                     (c) Copyright 2008, NXP SemiConductors
00006 *                                     (c) Copyright 2008, OnChip  Technologies LLC
00007 *                                                 All Rights Reserved
00008 *
00009 *                                                  www.nxp.com
00010 *                                               www.onchiptech.com
00011 *
00012 * File           : usbhost_err.h
00013 * Programmer(s)  : Ravikanth.P
00014 * Version        :
00015 *
00016 **************************************************************************************************************
00017 */
00018 
00019 #ifndef  USBHOST_ERR_H
00020 #define  USBHOST_ERR_H
00021 
00022 
00023 /*
00024 **************************************************************************************************************
00025 *                                        GENERAL DEFINITIONS
00026 **************************************************************************************************************
00027 */
00028 
00029 #define  OK                        0
00030 #define  MATCH_FOUND               0
00031 
00032 /*
00033 **************************************************************************************************************
00034 *                                HOST CONTROLLER SPECIFIC ERROR CODES
00035 **************************************************************************************************************
00036 */
00037 
00038 #define  ERR_TD_FAIL              -1
00039 
00040 /*
00041 **************************************************************************************************************
00042 *                                  MASS STORAGE SPECIFIC ERROR CODES
00043 **************************************************************************************************************
00044 */
00045 
00046 #define  ERR_MS_CMD_FAILED       -10
00047 #define  ERR_BAD_CONFIGURATION   -11
00048 #define  ERR_NO_MS_INTERFACE     -12
00049 
00050 /*
00051 **************************************************************************************************************
00052 *                                      FAT SPECIFIC ERROR CODES
00053 **************************************************************************************************************
00054 */
00055 
00056 #define  MATCH_NOT_FOUND         -20
00057 #define  ERR_FAT_NOT_SUPPORTED   -21
00058 #define  ERR_OPEN_LIMIT_REACHED  -22
00059 #define  ERR_INVALID_BOOT_SIG    -23
00060 #define  ERR_INVALID_BOOT_SEC    -24
00061 #define  ERR_ROOT_DIR_FULL       -25
00062 
00063 #endif