]> rtime.felk.cvut.cz Git - arc.git/blob - boards/mpc551xsim/config/Com_Cfg.h
Initial commit.
[arc.git] / boards / mpc551xsim / config / Com_Cfg.h
1 /* -------------------------------- Arctic Core ------------------------------
2  * Arctic Core - the open source AUTOSAR platform http://arccore.com
3  *
4  * Copyright (C) 2009  ArcCore AB <contact@arccore.com>
5  *
6  * This source code is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 as published by the
8  * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
13  * for more details.
14  * -------------------------------- Arctic Core ------------------------------*/
15
16
17
18
19
20
21
22
23 #ifndef COM_CFG_H_\r
24 #define COM_CFG_H_\r
25 \r
26 #define COM_MODULE_ID 20\r
27 #define COM_INSTANCE_ID 1\r
28 \r
29 #define COM_DEV_ERROR_DETECT\r
30 \r
31 #define COM_MAX_NR_IPDU 30\r
32 #define COM_MAX_NR_SIGNAL 30\r
33 #define COM_MAX_NR_GROUPSIGNAL 30\r
34 \r
35 #define COM_MAX_NR_SIGNALS_PER_IPDU 10\r
36 #define COM_MAX_NR_SIGNALGROUPS_PER_IPDU 10\r
37 #define COM_MAX_NR_SIGNALS_PER_SIGNAL_GROUP 10\r
38 \r
39 \r
40 #define COM_E_INVALID_FILTER_CONFIGURATION 101\r
41 #define COM_E_INITIALIZATION_FAILED 102\r
42 #define COM_E_INVALID_SIGNAL_CONFIGURATION 103\r
43 #define COM_INVALID_PDU_ID 104\r
44 #define COM_ERROR_SIGNAL_IS_SIGNALGROUP 105\r
45 \r
46 #define COM_E_TOO_MANY_IPDU 106\r
47 #define COM_E_TOO_MANY_SIGNAL 107\r
48 #define COM_E_TOO_MANY_GROUPSIGNAL 108\r
49 \r
50 #define CPU_ENDIANESS BIG_ENDIAN\r
51 \r
52 /*\r
53  * ComGeneral pre-compile time configuration parameters.
54  */\r
55 #define ComConfigurationTimeBase\r
56 #define ComConfigurationUseDet\r
57 #define ComVersionInfoApi\r
58 \r
59 \r
60 \r
61 \r
62 \r
63 #endif /*COM_CFG_H_*/\r