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)
75 #if defined(USE_CANNM)
78 #if defined(USE_CANSM)
81 #if defined(USE_LINSM)
87 EcuM_StateType EcuMDefaultShutdownTarget;
\r
88 uint8 EcuMDefaultSleepMode;
\r
89 AppModeType EcuMDefaultAppMode;
\r
90 uint32 EcuMRunMinimumDuration;
91 uint32 EcuMNvramReadAllTimeout;
92 uint32 EcuMNvramWriteAllTimeout;
95 const Mcu_ConfigType* McuConfig;
98 const Port_ConfigType* PortConfig;
101 const Can_ConfigType* CanConfig;
103 #if defined(USE_CANIF)
104 const CanIf_ConfigType* CanIfConfig;
106 #if defined(USE_CANSM)
107 const CanSM_ConfigType* CanSMConfig;
110 const Nm_ConfigType* NmConfig;
112 #if defined(USE_CANNM)
113 const CanNm_ConfigType* CanNmConfig;
115 #if defined(USE_COMM)
116 const ComM_ConfigType* ComMConfig;
119 const Com_ConfigType* ComConfig;
121 #if defined(USE_PDUR)
122 const PduR_PBConfigType* PduRConfig;
125 const Pwm_ConfigType* PwmConfig;
128 const Dma_ConfigType* DmaConfig;
131 const Adc_ConfigType* AdcConfig;
134 //const Wdg_ConfigType* WdgConfig; /* WDG is not AUTOSAR compliant for ArctiCore */
136 #if defined(USE_WDGM)
137 const WdgM_ConfigType* WdgMConfig;
140 const Gpt_ConfigType* GptConfig;
143 const Fls_ConfigType* FlashConfig;
146 const Eep_ConfigType* EepConfig;
150 #endif /*_ECUM_GENERATED_TYPES_H_*/
\r