]> rtime.felk.cvut.cz Git - arc.git/blob - boards/mpc5567qrtech/config/CanIf_Cfg.h
Cleanup of some drivers. Re-generated examples for mpc551xsim
[arc.git] / boards / mpc5567qrtech / config / CanIf_Cfg.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 /** @addtogroup CanIf CAN Interface\r
17  *  @{ */\r
18 \r
19 /** @file CanIf_Cfg.h\r
20  */\r
21 \r
22 #warning "This default file may only be used as an example!"\r
23 \r
24 #ifndef CANIF_CFG_H_\r
25 #define CANIF_CFG_H_\r
26 \r
27 #include "Can.h"\r
28 \r
29 /** Identifiers for the elements in CanIfControllerConfig[].\r
30  *  This is the ConfigurationIndex in CanIf_InitController(). */\r
31 typedef enum {\r
32         CANIF_CHANNEL_0_CONFIG_0 = 0,\r
33 \r
34         CANIF_CHANNEL_1_CONFIG_0 = 1,\r
35 \r
36         CANIF_CHANNEL_CONFIGURATION_CNT\r
37 } CanIf_Arc_ConfigurationIndexType;\r
38 \r
39 /** Channel id's */\r
40 typedef enum {\r
41         CANIF_CHANNEL_0,\r
42         CANIF_CHANNEL_1,\r
43         CANIF_CHANNEL_CNT,\r
44 } CanIf_Arc_ChannelIdType;\r
45 \r
46 #define CANIF_VERSION_INFO_API              STD_ON   /**< Build version info API */\r
47 #define CANIF_DEV_ERROR_DETECT              STD_ON   /**< Enable Development Error Trace */\r
48 #define CANIF_DLC_CHECK                     STD_ON   /**< Enable/disable DLC checking. */\r
49 #define CANIF_ARC_RUNTIME_PDU_CONFIGURATION     STD_OFF\r
50 #define CANIF_MULITPLE_DRIVER_SUPPORT       STD_OFF  /**< Not supported */\r
51 #define CANIF_READRXPDU_DATA_API            STD_OFF  /**< Not supported */\r
52 #define CANIF_READRXPDU_NOTIFY_STATUS_API       STD_OFF  /**< Not supported */\r
53 #define CANIF_READTXPDU_NOTIFY_STATUS_API       STD_OFF  /**< Not supported */\r
54 #define CANIF_SETDYNAMICTXID_API            STD_OFF  /**< Not supported */\r
55 #define CANIF_WAKEUP_EVENT_API              STD_OFF  /**< Not supported */\r
56 #define CANIF_TRANSCEIVER_API               STD_OFF  /**< Not supported */\r
57 #define CANIF_TRANSMIT_CANCELLATION         STD_OFF  /**< Not supported */\r
58 \r
59 #include "CanIf_ConfigTypes.h"\r
60 \r
61 /** Instance of the top level container. */\r
62 extern CanIf_ConfigType CanIf_Config;\r
63 \r
64 #endif\r
65 /** @} */\r
66 \r