Rev Author Line No. Line
2061 mija 1 /******************** (C) COPYRIGHT 2009 STMicroelectronics ********************
2 * File Name : Errors.h
3 * Author : MCD Application Team
4 * Version : v2.1.0
5 * Date : 11/02/2009
6 * Description : Defines the files Input/Output error codes
7 ********************************************************************************
8 * THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
9 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
10 * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
11 * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
12 * CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
13 * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
14 *******************************************************************************/
15  
16 #ifndef ERRORS_H
17 #define ERRORS_H
18  
19 #define FILES_ERROR_OFFSET (0x12340000+0x6000)
20  
21 #define FILES_NOERROR (0x12340000+0x0000)
22 #define FILES_BADSUFFIX (FILES_ERROR_OFFSET+0x0002)
23 #define FILES_UNABLETOOPENFILE (FILES_ERROR_OFFSET+0x0003)
24 #define FILES_UNABLETOOPENTEMPFILE (FILES_ERROR_OFFSET+0x0004)
25 #define FILES_BADFORMAT (FILES_ERROR_OFFSET+0x0005)
26 #define FILES_BADADDRESSRANGE (FILES_ERROR_OFFSET+0x0006)
27 #define FILES_BADPARAMETER (FILES_ERROR_OFFSET+0x0008)
28 #define FILES_UNEXPECTEDERROR (FILES_ERROR_OFFSET+0x000A)
29 #define FILES_FILEGENERALERROR (FILES_ERROR_OFFSET+0x000D)
30  
31 #define STPRT_ERROR_OFFSET (0x12340000+0x5000)
32  
33 #define STPRT_NOERROR (0x12340000)
34 #define STPRT_UNABLETOLAUNCHTHREAD (STPRT_ERROR_OFFSET+0x0001)
35 #define STPRT_ALREADYRUNNING (STPRT_ERROR_OFFSET+0x0007)
36 #define STPRT_BADPARAMETER (STPRT_ERROR_OFFSET+0x0008)
37 #define STPRT_BADFIRMWARESTATEMACHINE (STPRT_ERROR_OFFSET+0x0009)
38 #define STPRT_UNEXPECTEDERROR (STPRT_ERROR_OFFSET+0x000A)
39 #define STPRT_ERROR (STPRT_ERROR_OFFSET+0x000B)
40 #define STPRT_RETRYERROR (STPRT_ERROR_OFFSET+0x000C)
41 #define STPRT_UNSUPPORTEDFEATURE (STPRT_ERROR_OFFSET+0x000D)
42  
43 #endif
44  
45 /******************* (C) COPYRIGHT 2009 STMicroelectronics *****END OF FILE******/