1 /* -------------------------------- Arctic Core ------------------------------
\r
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
\r
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
\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
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
14 * -------------------------------- Arctic Core ------------------------------*/
\r
16 /** @addtogroup CanIf CAN Interface
\r
19 /** @file CanIf_Cfg.h
\r
22 #warning "This default file may only be used as an example!"
\r
24 #ifndef CANIF_CFG_H_
\r
25 #define CANIF_CFG_H_
\r
29 /** Identifiers for the elements in CanIfControllerConfig[].
\r
30 * This is the ConfigurationIndex in CanIf_InitController(). */
\r
32 CANIF_CHANNEL_0_CONFIG_0 = 0,
\r
34 CANIF_CHANNEL_1_CONFIG_0 = 1,
\r
36 CANIF_CHANNEL_CONFIGURATION_CNT
\r
37 } CanIf_Arc_ConfigurationIndexType;
\r
44 } CanIf_Arc_ChannelIdType;
\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
59 #include "CanIf_ConfigTypes.h"
\r
61 /** Instance of the top level container. */
\r
62 extern CanIf_ConfigType CanIf_Config;
\r