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)
63 #if defined(USE_CANNM)
66 #if defined(USE_CANSM)
69 #if defined(USE_LINSM)
75 EcuM_StateType EcuMDefaultShutdownTarget;
\r
76 uint8 EcuMDefaultShutdownMode;
\r
77 AppModeType EcuMDefaultAppMode;
\r
78 uint32 EcuMRunMinimumDuration;
79 uint32 EcuMNvramReadAllTimeout;
80 uint32 EcuMNvramWriteAllTimeout;
83 const Mcu_ConfigType* McuConfig;
86 const Port_ConfigType* PortConfig;
89 const Can_ConfigType* CanConfig;
91 #if defined(USE_CANIF)
92 const CanIf_ConfigType* CanIfConfig;
94 #if defined(USE_CANSM)
95 const CanSM_ConfigType* CanSMConfig;
98 const Nm_ConfigType* NmConfig;
100 #if defined(USE_CANNM)
101 const CanNm_ConfigType* CanNmConfig;
103 #if defined(USE_COMM)
104 const ComM_ConfigType* ComMConfig;
107 const Com_ConfigType* ComConfig;
109 #if defined(USE_PDUR)
110 const PduR_PBConfigType* PduRConfig;
113 const Pwm_ConfigType* PwmConfig;
116 const Dma_ConfigType* DmaConfig;
119 const Adc_ConfigType* AdcConfig;
122 const Gpt_ConfigType* GptConfig;
125 const Fls_ConfigType* FlashConfig;
129 #endif /*_ECUM_GENERATED_TYPES_H_*/
\r