]> rtime.felk.cvut.cz Git - arc.git/blob - boards/mpc5567qrtech/config/ComGlobals.h
Initial commit.
[arc.git] / boards / mpc5567qrtech / config / ComGlobals.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 /*\r
24  * ComGlobals.h\r
25  *\r
26  *  Created on: 2009-jan-11\r
27  *      Author: Mattias\r
28  */\r
29 \r
30 #ifndef COMGLOBALS_H_\r
31 #define COMGLOBALS_H_\r
32 \r
33 \r
34 // PDU definitions\r
35 enum {\r
36   // Used for PCAN.\r
37   PCAN_RX_FRAME_1 = 0,\r
38   PCAN_RX_FRAME_2 = 2,\r
39   PCAN_TX_FRAME_1 = 3,\r
40   PCAN_TX_FRAME_2 = 4,\r
41 \r
42   // Used for hardware test.\r
43   PDU_MSG_HARDWARE_TEST_ENGINE_STATUS = 0,\r
44   PDU_MSG_HARDWARE_TEST_ENGINE_CONTROL = 1,\r
45   PDU_MSG_HARDWARE_TEST_ROUTED_MSG = 2,\r
46 \r
47   // Used for testing CanIf\r
48   PDU_MSG_RX234 = 8,\r
49   PDU_MSG_RX123 = 10,\r
50   PDU_MSG_TX789 = 9,\r
51   PDU_MSG_TX987 = 11\r
52 \r
53 };\r
54 \r
55 \r
56 #endif /* COMGLOBALS_H_ */\r