-/*
-* Configuration of module EcuM (EcuM_Generated_Types.h)
-*
-* Created by:
-* Configured for (MCU): MPC5567
-*
-* Module editor vendor: ArcCore
-* Module editor version: 2.0.0
-*
-*
-* Generated by Arctic Studio (http://arccore.com)
-* on Tue May 25 11:41:52 CEST 2010
-*/
+/* -------------------------------- Arctic Core ------------------------------
+ * Arctic Core - the open source AUTOSAR platform http://arccore.com
+ *
+ * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
+ *
+ * This source code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published by the
+ * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ * -------------------------------- Arctic Core ------------------------------*/
#warning "This default file may only be used as an example!"
-#if (ECUM_SW_MAJOR_VERSION != 1)
+#if ((ECUM_SW_MAJOR_VERSION != 2) && (ECUM_SW_MINOR_VERSION != 0))
#error "EcuM: Configuration file version differs from BSW version."
#endif
#ifndef _ECUM_GENERATED_TYPES_H_\r
#define _ECUM_GENERATED_TYPES_H_\r
\r
-#if defined(USE_MCU)\r
-#include "Mcu.h"\r
-#endif\r
-#if defined(USE_PORT)\r
-#include "Port.h"\r
-#endif\r
-#if defined(USE_CAN)\r
-#include "Can.h"\r
-#endif\r
-#if defined(USE_CANIF)\r
-#include "CanIf.h"\r
-#endif\r
-#if defined(USE_PWM)\r
-#include "Pwm.h"\r
-#endif\r
-#if defined(USE_COM)\r
-#include "Com.h"\r
-#endif\r
-#if defined(USE_PDUR)\r
-#include "PduR.h"\r
-#endif\r
-#if defined(USE_DMA)\r
-#include "Dma.h"\r
-#endif\r
-#if defined(USE_ADC)\r
-#include "Adc.h"\r
-#endif\r
-#if defined(USE_GPT)\r
-#include "Gpt.h"\r
-#endif\r
+#if defined(USE_MCU)
+#include "Mcu.h"
+#endif
+#if defined(USE_PORT)
+#include "Port.h"
+#endif
+#if defined(USE_CAN)
+#include "Can.h"
+#endif
+#if defined(USE_CANIF)
+#include "CanIf.h"
+#endif
+#if defined(USE_PWM)
+#include "Pwm.h"
+#endif
+#if defined(USE_COM)
+#include "Com.h"
+#endif
+#if defined(USE_PDUR)
+#include "PduR.h"
+#endif
+#if defined(USE_DMA)
+#include "Dma.h"
+#endif
+#if defined(USE_ADC)
+#include "Adc.h"
+#endif
+#if defined(USE_GPT)
+#include "Gpt.h"
+#endif
#if defined(USE_FLS)
#include "Fls.h"
#endif
+#if defined(USE_EEP)
+#include "Eep.h"
+#endif
+#if defined(USE_WDG)
+#include "Wdg.h"
+#endif
+#if defined(USE_WDGM)
+#include "WdgM.h"
+#endif
+#if defined(USE_WDGIF)
+#include "WdgIf.h"
+#endif
+#if defined(USE_COMM)
+#include "ComM.h"
+#endif
+#if defined(USE_NM)
+#include "Nm.h"
+#endif
+#if defined(USE_CANNM)
+#include "CanNm.h"
+#endif
+#if defined(USE_CANSM)
+#include "CanSM.h"
+#endif
+#if defined(USE_LINSM)
+#include "LinSM.h"
+#endif\r
\r
-\r
-typedef struct\r
+typedef struct EcuM_Config\r
{\r
EcuM_StateType EcuMDefaultShutdownTarget;\r
- uint8 EcuMDefaultShutdownMode;\r
+ uint8 EcuMDefaultSleepMode;\r
AppModeType EcuMDefaultAppMode;\r
- uint32 EcuMRunSelfRequestPeriod;
+ uint32 EcuMRunMinimumDuration;
uint32 EcuMNvramReadAllTimeout;
uint32 EcuMNvramWriteAllTimeout;
\r
-#if defined(USE_MCU)\r
- const Mcu_ConfigType* McuConfig;\r
-#endif\r
-#if defined(USE_PORT)\r
- const Port_ConfigType* PortConfig;\r
-#endif\r
-#if defined(USE_CAN)\r
- const Can_ConfigType* CanConfig;\r
-#endif\r
-#if defined(USE_CANIF)\r
- const CanIf_ConfigType* CanIfConfig;\r
-#endif\r
-#if defined(USE_COM)\r
- const Com_ConfigType* ComConfig;\r
-#endif\r
-#if defined(USE_PDUR)\r
- const PduR_PBConfigType* PduRConfig;\r
-#endif\r
-#if defined(USE_PWM)\r
- const Pwm_ConfigType* PwmConfig;\r
-#endif\r
-#if defined(USE_DMA)\r
- const Dma_ConfigType* DmaConfig;\r
-#endif\r
-#if defined(USE_ADC)\r
- const Adc_ConfigType* AdcConfig;\r
-#endif\r
-#if defined(USE_GPT)\r
- const Gpt_ConfigType* GptConfig;\r
-#endif\r
+#if defined(USE_MCU)
+ const Mcu_ConfigType* McuConfig;
+#endif
+#if defined(USE_PORT)
+ const Port_ConfigType* PortConfig;
+#endif
+#if defined(USE_CAN)
+ const Can_ConfigType* CanConfig;
+#endif
+#if defined(USE_CANIF)
+ const CanIf_ConfigType* CanIfConfig;
+#endif
+#if defined(USE_CANSM)
+ const CanSM_ConfigType* CanSMConfig;
+#endif
+#if defined(USE_NM)
+ const Nm_ConfigType* NmConfig;
+#endif
+#if defined(USE_CANNM)
+ const CanNm_ConfigType* CanNmConfig;
+#endif
+#if defined(USE_COMM)
+ const ComM_ConfigType* ComMConfig;
+#endif
+#if defined(USE_COM)
+ const Com_ConfigType* ComConfig;
+#endif
+#if defined(USE_PDUR)
+ const PduR_PBConfigType* PduRConfig;
+#endif
+#if defined(USE_PWM)
+ const Pwm_ConfigType* PwmConfig;
+#endif
+#if defined(USE_DMA)
+ const Dma_ConfigType* DmaConfig;
+#endif
+#if defined(USE_ADC)
+ const Adc_ConfigType* AdcConfig;
+#endif
+#if defined(USE_WDG)
+ const Wdg_ConfigType* WdgConfig;
+#endif
+#if defined(USE_WDGIF)
+ const WdgIf_ConfigType* WdgIfConfig;
+#endif
+#if defined(USE_WDGM)
+ const WdgM_ConfigType* WdgMConfig;
+#endif
+#if defined(USE_GPT)
+ const Gpt_ConfigType* GptConfig;
+#endif
#if defined(USE_FLS)
const Fls_ConfigType* FlashConfig;
#endif
+#if defined(USE_EEP)
+ const Eep_ConfigType* EepConfig;
+#endif
+#if defined(USE_SPI)
+ const Spi_ConfigType* SpiConfig;
+#endif
} EcuM_ConfigType;\r
\r
#endif /*_ECUM_GENERATED_TYPES_H_*/\r