-/* -------------------------------- Arctic Core ------------------------------\r
- * Arctic Core - the open source AUTOSAR platform http://arccore.com\r
- *\r
- * Copyright (C) 2009 ArcCore AB <contact@arccore.com>\r
- *\r
- * This source code is free software; you can redistribute it and/or modify it\r
- * under the terms of the GNU General Public License version 2 as published by the\r
- * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.\r
- *\r
- * This program is distributed in the hope that it will be useful, but\r
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License\r
- * for more details.\r
- * -------------------------------- Arctic Core ------------------------------*/\r
+/*\r
+* Configuration of module: Mcu (Mcu_Cfg.c)\r
+*\r
+* Created by: \r
+* Copyright: \r
+*\r
+* Configured for (MCU): MPC5604B\r
+*\r
+* Module vendor: ArcCore\r
+* Generator version: 2.0.3\r
+*\r
+* Generated by Arctic Studio (http://arccore.com) \r
+*/\r
\r
-#warning "This default file may only be used as an example!"\r
\r
#ifndef MCU_CFG_C_\r
#define MCU_CFG_C_\r
\r
#include "Mcu.h"\r
\r
-Mcu_RamSectorSettingConfigType Mcu_RamSectorSettingConfigData[] =\r
-{\r
- {\r
- // This parameter shall represent the Data pre-setting to be initialized\r
- .McuRamDefaultValue = 0,\r
-\r
- // This parameter shall represent the MCU RAM section base address\r
- .McuRamSectionBaseAddress = 0,\r
\r
- // This parameter shall represent the MCU RAM Section size\r
- .McuRamSectionSize = 0xFF,\r
- }\r
+Mcu_RamSectorSettingConfigType Mcu_RamSectorSettingConfigData[] = {\r
};\r
\r
Mcu_ClockSettingConfigType Mcu_ClockSettingConfigData[] =\r
{\r
- {\r
- .McuClockReferencePointFrequency = 8000000UL,\r
- .Pll1 = 0,\r
- .Pll2 = 64,\r
- .Pll3 = 2,\r
- },\r
- {\r
- .McuClockReferencePointFrequency = 16000000UL,\r
- .Pll1 = 0,\r
- .Pll2 = 64,\r
- .Pll3 = 3,\r
- }\r
+ {\r
+ .McuClockReferencePointFrequency = 8000000UL,\r
+ .Pll1 = 0,\r
+ .Pll2 = 64,\r
+ .Pll3 = 2,\r
+ },\r
};\r
\r
-const Mcu_ConfigType McuConfigData[] =\r
-{\r
- {\r
- // Enables/Disables clock failure notification. In case this feature is not supported\r
- // by HW the setting should be disabled.\r
- .McuClockSrcFailureNotification = 0,\r
-\r
- // This parameter shall represent the number of RAM sectors available for\r
- // the MCU. calculationFormula = Number of configured McuRamSectorSet-\r
- // tingConf\r
- .McuRamSectors = 1,\r
-\r
- // This parameter shall represent the number of clock setting available for\r
- // the MCU.\r
- .McuClockSettings = MCU_NBR_OF_CLOCKS,\r
-\r
- // Default clock frequency used\r
- .McuDefaultClockSettings = MCU_CLOCKTYPE_EXT_REF_8MHZ,\r
-\r
- // This container contains the configuration (parameters) for the\r
- // Clock settings of the MCU. Please see MCU031 for more in-\r
- // formation on the MCU clock settings.\r
- .McuClockSettingConfig = &Mcu_ClockSettingConfigData[0],\r
\r
- // This container contains the configuration (parameters) for the\r
- // RAM Sector setting. Please see MCU030 for more information\r
- // on RAM sec-tor settings.\r
- .McuRamSectorSettingConfig = &Mcu_RamSectorSettingConfigData[0],\r
- },\r
+const Mcu_ConfigType McuConfigData[] = {\r
+ {\r
+ .McuClockSrcFailureNotification = 0,\r
+ .McuRamSectors = MCU_NBR_OF_RAM_SECTIONS,\r
+ .McuClockSettings = 1,\r
+ .McuDefaultClockSettings = 0,\r
+ .McuClockSettingConfig = &Mcu_ClockSettingConfigData[0],\r
+ .McuRamSectorSettingConfig = &Mcu_RamSectorSettingConfigData[0],\r
+ }\r
};\r
\r
#endif /*MCU_CFG_C_*/\r