1 /* -------------------------------- Arctic Core ------------------------------
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
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>.
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
14 * -------------------------------- Arctic Core ------------------------------*/
17 #warning "This default file may only be used as an example!"
19 #if ((ECUM_SW_MAJOR_VERSION != 2) && (ECUM_SW_MINOR_VERSION != 0))
20 #error "EcuM: Configuration file version differs from BSW version."
24 #ifndef _ECUM_GENERATED_TYPES_H_
\r
25 #define _ECUM_GENERATED_TYPES_H_
\r
36 #if defined(USE_CANIF)
69 #if defined(USE_CANNM)
72 #if defined(USE_CANSM)
75 #if defined(USE_LINSM)
81 EcuM_StateType EcuMDefaultShutdownTarget;
\r
82 uint8 EcuMDefaultSleepMode;
\r
83 AppModeType EcuMDefaultAppMode;
\r
84 uint32 EcuMRunMinimumDuration;
85 uint32 EcuMNvramReadAllTimeout;
86 uint32 EcuMNvramWriteAllTimeout;
89 const Mcu_ConfigType* McuConfig;
92 const Port_ConfigType* PortConfig;
95 const Can_ConfigType* CanConfig;
97 #if defined(USE_CANIF)
98 const CanIf_ConfigType* CanIfConfig;
100 #if defined(USE_CANSM)
101 const CanSM_ConfigType* CanSMConfig;
104 const Nm_ConfigType* NmConfig;
106 #if defined(USE_CANNM)
107 const CanNm_ConfigType* CanNmConfig;
109 #if defined(USE_COMM)
110 const ComM_ConfigType* ComMConfig;
113 const Com_ConfigType* ComConfig;
115 #if defined(USE_PDUR)
116 const PduR_PBConfigType* PduRConfig;
119 const Pwm_ConfigType* PwmConfig;
122 const Dma_ConfigType* DmaConfig;
125 const Adc_ConfigType* AdcConfig;
128 const Wdg_ConfigType* WdgConfig;
130 #if defined(USE_WDGM)
131 const WdgM_ConfigType* WdgMConfig;
134 const Gpt_ConfigType* GptConfig;
137 const Fls_ConfigType* FlashConfig;
141 #endif /*_ECUM_GENERATED_TYPES_H_*/
\r