]> rtime.felk.cvut.cz Git - arc.git/blob - include/Rte.h
regenerated configs for all mpc560x targets so they build again. Although bug for...
[arc.git] / include / Rte.h
1 /* -------------------------------- Arctic Core ------------------------------\r
2  * Arctic Core - the open source AUTOSAR platform http://arccore.com\r
3  *\r
4  * Copyright (C) 2009  ArcCore AB <contact@arccore.com>\r
5  *\r
6  * This source code is free software; you can redistribute it and/or modify it\r
7  * under the terms of the GNU General Public License version 2 as published by the\r
8  * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.\r
9  *\r
10  * This program is distributed in the hope that it will be useful, but\r
11  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
12  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\r
13  * for more details.\r
14  * -------------------------------- Arctic Core ------------------------------*/\r
15 \r
16 \r
17 \r
18 #ifndef RTE_H_\r
19 #define RTE_H_\r
20 \r
21 #include "Std_Types.h"\r
22 \r
23 // Errors\r
24 #define RTE_E_OK                                ((Std_ReturnType) 0)\r
25 #define RTE_E_INVALID                   ((Std_ReturnType) 1)\r
26 #define RTE_E_COMMS_ERROR               ((Std_ReturnType) 128)\r
27 #define RTE_E_TIMEOUT                   ((Std_ReturnType) 129)\r
28 #define RTE_E_LIMIT                             ((Std_ReturnType) 130)\r
29 #define RTE_E_NO_DATA                   ((Std_ReturnType) 131)\r
30 #define RTE_E_TRANSMIT_ACK              ((Std_ReturnType) 132)\r
31 // Overlayd errors\r
32 #define RTE_E_LOST_DATA                 ((Std_ReturnType) 64)\r
33 #define RTE_E_MAX_AGE_EXCEEDED  ((Std_ReturnType) 64)\r
34 \r
35 \r
36 #endif /*RTE_H_*/\r