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 ------------------------------*/
28 Mcu_RamSectorSettingConfigType Mcu_RamSectorSettingConfigData[] = {
\r
30 // This parameter shall represent the Data pre-setting to be initialized
\r
31 .McuRamDefaultValue = 0,
\r
33 // This parameter shall represent the MCU RAM section base address
\r
34 .McuRamSectionBaseAddress = 0,
\r
36 // This parameter shall represent the MCU RAM Section size
\r
37 .McuRamSectionSize = 0xFF,
\r
41 Mcu_ClockSettingConfigType Mcu_ClockSettingConfigData[] =
\r
44 .McuClockReferencePoint = 8000000UL,
\r
50 .McuClockReferencePoint = 40000000UL,
\r
58 const Mcu_ConfigType McuConfigData[] = {
\r
60 // Enables/Disables clock failure notification. In case this feature is not supported
\r
61 // by HW the setting should be disabled.
\r
62 .McuClockSrcFailureNotification = 0,
\r
64 // This parameter shall represent the number of Modes available for the
\r
65 // MCU. calculationFormula = Number of configured McuModeSettingConf
\r
66 .McuNumberOfMcuModes = 1, /* NOT USED */
\r
68 // This parameter shall represent the number of RAM sectors available for
\r
69 // the MCU. calculationFormula = Number of configured McuRamSectorSet-
\r
73 // This parameter shall represent the number of clock setting available for
\r
75 .McuClockSettings = MCU_NBR_OF_CLOCKS,
\r
77 // This parameter relates to the MCU specific reset configuration. This ap-
\r
78 // plies to the function Mcu_PerformReset, which performs a microcontroller
\r
79 // reset using the hardware feature of the microcontroller.
\r
80 .McuResetSetting = 0, /* NOT USED */
\r
82 // This container contains the configuration (parameters) for the
\r
83 // Clock settings of the MCU. Please see MCU031 for more in-
\r
84 // formation on the MCU clock settings.
\r
85 .McuClockSettingConfig = &Mcu_ClockSettingConfigData[0],
\r
87 // This container contains the configuration (parameters) for the
\r
88 // Mode setting of the MCU. Please see MCU035 for more infor-
\r
89 // mation on the MCU mode settings.
\r
90 .McuModeSettingConfig = 0,
\r
92 // This container contains the configuration (parameters) for the
\r
93 // RAM Sector setting. Please see MCU030 for more information
\r
94 // on RAM sec-tor settings.
\r
95 .McuRamSectorSettingConfig = &Mcu_RamSectorSettingConfigData[0],
\r
99 #endif /*MCU_CFG_C_*/
\r