+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<AUTOSAR xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://autosar.org/3.1.5" xsi:schemaLocation="http://autosar.org/3.1.5 autosar_3-1-5.xsd"><TOP-LEVEL-PACKAGES>\r
- <AR-PACKAGE>\r
- <SHORT-NAME>board_mpc5606s_xpc560s</SHORT-NAME>\r
- <ELEMENTS>\r
- <ECU-CONFIGURATION UUID="c582a01a-853f-4e23-913b-a6879e1e16df">\r
- <SHORT-NAME>board_mpc5606s_xpc560s</SHORT-NAME>\r
- <ADMIN-DATA>\r
- <SDGS>\r
- <SDG GID="Arccore::EcuOptions">\r
- <SD GID="MCU">MPC560x</SD>\r
- <SD GID="GENDIR">${RESOURCE_LOC}</SD>\r
- </SDG>\r
- </SDGS>\r
- </ADMIN-DATA>\r
- <ECU-SW-COMPOSITION-REF DEST="ECU-SW-COMPOSITION">/board_mpc5606s_xpc560s/SwComposition_board_mpc5606s_xpc560s</ECU-SW-COMPOSITION-REF>\r
- </ECU-CONFIGURATION>\r
- <ECU-SW-COMPOSITION UUID="d3b2a44e-fc68-44fb-8af5-3e67acf5a3c5">\r
- <SHORT-NAME>SwComposition_board_mpc5606s_xpc560s</SHORT-NAME>\r
- </ECU-SW-COMPOSITION>\r
- </ELEMENTS>\r
- </AR-PACKAGE>\r
- </TOP-LEVEL-PACKAGES></AUTOSAR>\r
+++ /dev/null
-/*\r
-* Configuration of module: EcuM (EcuM_Callout_Stubs.c)\r
-*\r
-* Created by: \r
-* Copyright: \r
-*\r
-* Configured for (MCU): MPC5604B\r
-*\r
-* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
-*\r
-* Generated by Arctic Studio (http://arccore.com) \r
-*/\r
-\r
-\r
-#include "EcuM.h"\r
-#include "EcuM_Generated_Types.h"\r
-#include "Det.h"\r
-#if defined(USE_DEM)\r
-#include "Dem.h"\r
-#endif\r
-#if defined(USE_MCU)\r
-#include "Mcu.h"\r
-#endif\r
-#if defined(USE_GPT)\r
-#include "Gpt.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_PDUR)\r
-#include "PduR.h"\r
-#endif\r
-#if defined(USE_COM)\r
-#include "Com.h"\r
-#endif\r
-#if defined(USE_CANTP)\r
-#include "CanTp.h"\r
-#endif\r
-#if defined(USE_J1939TP)\r
-#include "J1939Tp.h"\r
-#endif\r
-#if defined(USE_DCM)\r
-#include "Dcm.h"\r
-#endif\r
-#if defined(USE_PWM)\r
-#include "Pwm.h"\r
-#endif\r
-#if defined(USE_IOHWAB)\r
-#include "IoHwAb.h"\r
-#endif\r
-#if defined(USE_FLS)\r
-#include "Fls.h"\r
-#endif\r
-#if defined(USE_EEP)\r
-#include "Eep.h"\r
-#endif\r
-#if defined(USE_FEE)\r
-#include "Fee.h"\r
-#endif\r
-#if defined(USE_EA)\r
-#include "Ea.h"\r
-#endif\r
-#if defined(USE_NVM)\r
-#include "NvM.h"\r
-#endif\r
-#if defined(USE_COMM)\r
-#include "ComM.h"\r
-#endif\r
-#if defined(USE_NM)\r
-#include "Nm.h"\r
-#endif\r
-#if defined(USE_CANNM)\r
-#include "CanNm.h"\r
-#endif\r
-#if defined(USE_CANSM)\r
-#include "CanSM.h"\r
-#endif\r
-#if defined(USE_UDPNM)\r
-#include "UdpNm.h"\r
-#endif\r
-#if defined(USE_LINSM)\r
-#include "LinSM.h"\r
-#endif\r
-#if defined(USE_SPI)\r
-#include "Spi.h"\r
-#endif\r
-#if defined(USE_WDG)\r
-#include "Wdg.h"\r
-#endif\r
-#if defined(USE_WDGM)\r
-#include "WdgM.h"\r
-#endif\r
-\r
-void EcuM_AL_DriverInitZero(void)\r
-{\r
- Det_Init();/** @req EcuM2783 */\r
- Det_Start();/** @req EcuM2634 */\r
-}\r
-\r
-extern EcuM_ConfigType EcuMConfig;\r
-\r
-EcuM_ConfigType* EcuM_DeterminePbConfiguration(void)\r
-{\r
- return &EcuMConfig;\r
-}\r
-\r
-void EcuM_AL_DriverInitOne(const EcuM_ConfigType *ConfigPtr)\r
-{\r
- (void)ConfigPtr;\r
- //lint --e{715} PC-Lint (715) - ConfigPtr usage depends on configuration of modules\r
-\r
-#if defined(USE_MCU)\r
- Mcu_Init(ConfigPtr->McuConfig);\r
-\r
- /* Set up default clock (Mcu_InitClock requires initRun==1) */\r
- /* Ignoring return value */\r
- (void) Mcu_InitClock( ConfigPtr->McuConfig->McuDefaultClockSettings );\r
-\r
- // Wait for PLL to sync.\r
- while (Mcu_GetPllStatus() != MCU_PLL_LOCKED)\r
- {\r
- ;\r
- }\r
-#endif\r
-\r
-#if defined(USE_DEM)\r
- // Preinitialize DEM\r
- Dem_PreInit();\r
-#endif\r
-\r
-#if defined(USE_PORT)\r
- // Setup Port\r
- Port_Init(ConfigPtr->PortConfig);\r
-#endif\r
-\r
-\r
-#if defined(USE_GPT)\r
- // Setup the GPT\r
- Gpt_Init(ConfigPtr->GptConfig);\r
-#endif\r
-\r
- // Setup watchdog\r
-#if defined(USE_WDG)\r
- Wdg_Init(ConfigPtr->WdgConfig);\r
-#endif\r
-#if defined(USE_WDGM)\r
- WdgM_Init(ConfigPtr->WdgMConfig);\r
-#endif\r
-\r
-#if defined(USE_DMA)\r
- // Setup DMA\r
- Dma_Init(ConfigPtr->DmaConfig);\r
-#endif\r
-\r
-#if defined(USE_ADC)\r
- // Setup ADC\r
- Adc_Init(ConfigPtr->AdcConfig);\r
-#endif\r
-\r
- // Setup ICU\r
- // TODO\r
-\r
- // Setup PWM\r
-#if defined(USE_PWM)\r
- // Setup PWM\r
- Pwm_Init(ConfigPtr->PwmConfig);\r
-#endif\r
-}\r
-\r
-void EcuM_AL_DriverInitTwo(const EcuM_ConfigType* ConfigPtr)\r
-{\r
- (void)ConfigPtr;\r
- //lint --e{715} PC-Lint (715) - ConfigPtr usage depends on configuration of modules\r
-\r
-#if defined(USE_SPI)\r
- // Setup SPI\r
- Spi_Init(ConfigPtr->SpiConfig);\r
-#endif\r
-\r
-#if defined(USE_EEP)\r
- // Setup EEP\r
- Eep_Init(ConfigPtr->EepConfig);\r
-#endif\r
-\r
-#if defined(USE_FLS)\r
- // Setup Flash\r
- Fls_Init(ConfigPtr->FlashConfig);\r
-#endif\r
-\r
-#if defined(USE_FEE)\r
- // Setup FEE\r
- Fee_Init();\r
-#endif\r
-\r
-#if defined(USE_EA)\r
- // Setup EA\r
- Ea_Init();\r
-#endif\r
-\r
-#if defined(USE_NVM)\r
- // Setup NVRAM Manager and start the read all job\r
- NvM_Init();\r
- NvM_ReadAll();\r
-#endif\r
-\r
- // Setup CAN tranceiver\r
- // TODO\r
-\r
-#if defined(USE_CAN)\r
- // Setup Can driver\r
- Can_Init(ConfigPtr->CanConfig);\r
-#endif\r
-\r
-#if defined(USE_CANIF)\r
- // Setup CanIf\r
- CanIf_Init(ConfigPtr->CanIfConfig);\r
-#endif\r
-\r
-#if defined(USE_CANTP)\r
- // Setup CAN TP\r
- CanTp_Init();\r
-#endif\r
-\r
-#if defined(USE_CANSM)\r
- CanSM_Init(ConfigPtr->CanSMConfig);\r
-#endif\r
-\r
-#if defined(USE_J1939TP)\r
- // Setup J1939Tp\r
- J1939Tp_Init(ConfigPtr->J1939TpConfig);\r
-#endif\r
-\r
-\r
- // Setup LIN\r
- // TODO\r
-\r
-#if defined(USE_PDUR)\r
- // Setup PDU Router\r
- PduR_Init(ConfigPtr->PduRConfig);\r
-#endif\r
-\r
-#if defined(USE_CANNM)\r
- // Setup Can Network Manager\r
- CanNm_Init(ConfigPtr->CanNmConfig);\r
-#endif\r
-\r
-#if defined(USE_UDPNM)\r
- // Setup Udp Network Manager\r
- UdpNm_Init(ConfigPtr->UdpNmConfig);\r
-#endif\r
-\r
-#if defined(USE_NM)\r
- // Setup Network Management Interface\r
- Nm_Init(ConfigPtr->NmConfig);\r
-#endif\r
-\r
-#if defined(USE_COM)\r
- // Setup COM layer\r
- Com_Init(ConfigPtr->ComConfig);\r
-#endif\r
-\r
-#if defined(USE_DCM)\r
- // Setup DCM\r
- Dcm_Init();\r
-#endif\r
-\r
-#if defined(USE_IOHWAB)\r
- // Setup IO hardware abstraction layer\r
- IoHwAb_Init();\r
-#endif\r
-\r
-}\r
-\r
-void EcuM_AL_DriverInitThree(const EcuM_ConfigType* ConfigPtr)\r
-{\r
- (void)ConfigPtr;\r
- //lint --e{715} PC-Lint (715) - ConfigPtr usage depends on configuration of modules\r
-\r
-#if defined(USE_DEM)\r
- // Setup DEM\r
- Dem_Init();\r
-#endif\r
-\r
-#if defined(USE_COMM)\r
- // Setup Communication Manager\r
- ComM_Init(ConfigPtr->ComMConfig);\r
-#endif\r
-}\r
-\r
-void EcuM_OnEnterRUN(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnExitRun(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnExitPostRun(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnPrepShutdown(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnGoSleep(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnGoOffOne(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnGoOffTwo(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_AL_SwitchOff(void)\r
-{\r
-\r
-}\r
* Configured for (MCU): MPC5604B\r
*\r
* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
+* Generator version: 2.1.10\r
*\r
* Generated by Arctic Studio (http://arccore.com) \r
*/\r
#define ECUM_NVRAM_WRITEALL_TIMEOUT (10000)\r
#define ECUM_NVRAM_MIN_RUN_DURATION (10000)\r
\r
+#define ECUM_VALIDATION_TIMEOUT 0\r
\r
typedef enum {\r
ECUM_USER_User_1,\r
ECUM_USER_ENDMARK // Must be the last in list!\r
} EcuM_UserList;\r
\r
+// EcuM Sleep Mode IDs\r
+#define ECUM_SLEEP_MODE_EcuMSleepMode 0\r
+#define ECUM_SLEEP_MODE_CNT 1\r
+\r
+typedef enum {\r
+ ECUM_WKSOURCE_POWER = (1<<0),\r
+ ECUM_WKSOURCE_RESET = (1<<1),\r
+ ECUM_WKSOURCE_INTERNAL_RESET = (1<<2),\r
+ ECUM_WKSOURCE_INTERNAL_WDG = (1<<3),\r
+ ECUM_WKSOURCE_EXTERNAL_WDG = (1<<4),\r
+ ECUM_WKSOURCE_ECUMWAKEUPSOURCE = (1<<5), \r
+ ECUM_WKSOURCE_ALL_SOURCES = 0x3FFFFFFF\r
+} EcuM_WakeupSourceType ;\r
\r
#endif /*ECUM_CFG_H_*/\r
\r
+++ /dev/null
-/*\r
-* Configuration of module: EcuM (EcuM_Generated_Types.h)\r
-*\r
-* Created by: \r
-* Copyright: \r
-*\r
-* Configured for (MCU): MPC5604B\r
-*\r
-* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
-*\r
-* Generated by Arctic Studio (http://arccore.com) \r
-*/\r
-\r
-
-#if !(((ECUM_SW_MAJOR_VERSION == 2) && (ECUM_SW_MINOR_VERSION == 0)) )
-#error EcuM: Configuration file expected BSW module version to be 2.0.*
-#endif
-
-\r
-#ifndef _ECUM_GENERATED_TYPES_H_\r
-#define _ECUM_GENERATED_TYPES_H_\r
-\r
-#ifdef CFG_ECUM_USE_SERVICE_COMPONENT\r
-#include "Rte_EcuM.h"\r
-#endif\r
-\r
-#include "EcuM_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_COMM)\r
-#include "ComM.h"\r
-#endif\r
-#if defined(USE_NM)\r
-#include "Nm.h"\r
-#endif\r
-#if defined(USE_CANNM)\r
-#include "CanNm.h"\r
-#endif\r
-#if defined(USE_CANSM)\r
-#include "CanSM.h"\r
-#endif\r
-#if defined(USE_J1939TP)\r
-#include "J1939Tp.h"\r
-#endif\r
-#if defined(USE_UDPNM)\r
-#include "UdpNm.h"\r
-#endif\r
-#if defined(USE_LINSM)\r
-#include "LinSM.h"\r
-#endif\r
-#if defined(USE_FLS)\r
-#include "Fls.h"\r
-#endif\r
-#if defined(USE_EEP)\r
-#include "Eep.h"\r
-#endif\r
-#if defined(USE_SPI)\r
-#include "Spi.h"\r
-#endif\r
-#if defined(USE_WDG)\r
-#include "Wdg.h"\r
-#endif\r
-#if defined(USE_WDGM)\r
-#include "WdgM.h"\r
-#endif\r
-#if defined(USE_WDGIF)\r
-#include "WdgIf.h"\r
-#endif\r
-\r
-\r
-typedef struct\r
-{\r
- EcuM_StateType EcuMDefaultShutdownTarget;\r
- uint8 EcuMDefaultSleepMode;\r
- AppModeType EcuMDefaultAppMode;\r
- uint32 EcuMRunMinimumDuration;\r
- uint32 EcuMNvramReadAllTimeout;\r
- uint32 EcuMNvramWriteAllTimeout;\r
-\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_CANSM)\r
- const CanSM_ConfigType* CanSMConfig;\r
-#endif\r
-#if defined(USE_NM)\r
- const Nm_ConfigType* NmConfig;\r
-#endif\r
-#if defined(USE_CANNM)\r
- const CanNm_ConfigType* CanNmConfig;\r
-#endif\r
-#if defined(USE_UDPNM)\r
- const UdpNm_ConfigType* UdpNmConfig;\r
-#endif\r
-#if defined(USE_COMM)\r
- const ComM_ConfigType* ComMConfig;\r
-#endif\r
-#if defined(USE_COM)\r
- const Com_ConfigType* ComConfig;\r
-#endif\r
-#if defined(USE_J1939TP)\r
- const J1939Tp_ConfigType* J1939TpConfig;\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_FLS)\r
- const Fls_ConfigType* FlashConfig;\r
-#endif\r
-#if defined(USE_EEP)\r
- const Eep_ConfigType* EepConfig;\r
-#endif\r
-#if defined(USE_SPI)\r
- const Spi_ConfigType* SpiConfig;\r
-#endif\r
-#if defined(USE_WDG)\r
- const Wdg_ConfigType* WdgConfig;\r
-#endif\r
-#if defined(USE_WDGIF)\r
- const WdgIf_ConfigType* WdgIfConfig;\r
-#endif\r
-#if defined(USE_WDGM)\r
- const WdgM_ConfigType* WdgMConfig;\r
-#endif\r
-} EcuM_ConfigType;\r
-\r
-#endif /*_ECUM_GENERATED_TYPES_H_*/\r
* Configured for (MCU): MPC5604B\r
*\r
* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
+* Generator version: 2.1.10\r
*\r
* Generated by Arctic Studio (http://arccore.com) \r
*/\r
\r
\r
-\r
#include "EcuM.h"\r
#include "EcuM_Generated_Types.h"\r
\r
extern const J1939Tp_ConfigType J1939Tp_Config;\r
#endif\r
\r
+#if defined(USE_WDGM)\r
+const EcuM_WdgMType EcuM_WdgMConfig = {\r
+ .EcuMSupervisedEntity = NULL,\r
+ .EcuMWdgMWakeupMode = NULL,\r
+ .EcuMWdgMStartupMode = NULL,\r
+ .EcuMWdgMRunMode = NULL,\r
+ .EcuMWdgMPostRunMode = NULL,\r
+ .EcuMWdgMShutdownMode = NULL,\r
+};\r
+#endif\r
+\r
+const EcuM_SleepModeType EcuM_SleepModeConfig[] = {\r
+ { // EcuMSleepMode \r
+ .EcuMSleepModeId = ECUM_SLEEP_MODE_EcuMSleepMode,\r
+ .EcuMWakeupSourceMask = ECUM_WKSOURCE_ECUMWAKEUPSOURCE,\r
+ .EcuMSleepModeMcuMode = MCU_MODE_MCUMODESETTINGCONF,\r
+#if defined(USE_WDGM)\r
+ .EcuMSleepModeWdgMMode = NULL,\r
+#endif\r
+ }\r
+};\r
+\r
+const EcuM_WakeupSourceConfigType EcuM_WakeupSourceConfig[] = {\r
+ { // EcuMWakeupSource \r
+ .EcuMWakeupSourceId = ECUM_WKSOURCE_ECUMWAKEUPSOURCE,\r
+ .EcuMWakeupSourcePolling = false,\r
+ .EcuMValidationTimeout = 0,\r
+#if defined(USE_COMM)\r
+ .EcuMComMChannel = NULL,\r
+#endif\r
+ }\r
+};\r
+\r
\r
EcuM_ConfigType EcuMConfig =\r
{\r
.EcuMNvramReadAllTimeout = ECUM_NVRAM_READALL_TIMEOUT,\r
.EcuMNvramWriteAllTimeout = ECUM_NVRAM_WRITEALL_TIMEOUT,\r
.EcuMRunMinimumDuration = ECUM_NVRAM_MIN_RUN_DURATION,\r
+#if defined(USE_WDGM)\r
+ .EcuMWdgMConfig = &EcuM_WdgMConfig,\r
+#endif\r
+ .EcuMSleepModeConfig = EcuM_SleepModeConfig,\r
\r
#if defined(USE_MCU)\r
- .McuConfig = McuConfigData,\r
+ .McuConfig = McuConfigData,\r
#endif\r
#if defined(USE_PORT)\r
- .PortConfig = &PortConfigData,\r
+ .PortConfig = &PortConfigData,\r
#endif\r
#if defined(USE_CAN)\r
- .CanConfig = &CanConfigData,\r
+ .CanConfig = &CanConfigData,\r
#endif\r
#if defined(USE_CANIF)\r
- .CanIfConfig = &CanIf_Config,\r
+ .CanIfConfig = &CanIf_Config,\r
#endif\r
#if defined(USE_CANSM)\r
- .CanSMConfig = &CanSM_Config,\r
+ .CanSMConfig = &CanSM_Config,\r
#endif\r
#if defined(USE_CANNM)\r
- .CanNmConfig = &CanNm_Config,\r
+ .CanNmConfig = &CanNm_Config,\r
#endif\r
#if defined(USE_UDPNM)\r
- .UdpNmConfig = &UdpNm_Config,\r
+ .UdpNmConfig = &UdpNm_Config,\r
#endif\r
#if defined(USE_COM)\r
- .ComConfig = &ComConfiguration,\r
+ .ComConfig = &ComConfiguration,\r
#endif\r
#if defined(USE_COMM)\r
- .ComMConfig = &ComM_Config,\r
+ .ComMConfig = &ComM_Config,\r
#endif\r
#if defined(USE_J1939TP)\r
- .J1939TpConfig = &J1939Tp_Config,\r
+ .J1939TpConfig = &J1939Tp_Config,\r
#endif\r
#if defined(USE_NM)\r
- .NmConfig = &Nm_Config,\r
+ .NmConfig = &Nm_Config,\r
#endif\r
#if defined(USE_PDUR)\r
- .PduRConfig = &PduR_Config,\r
+ .PduRConfig = &PduR_Config,\r
#endif\r
#if defined(USE_J1939TP)\r
- .J1939TpConfig = &J1939Tp_Config,\r
+ .J1939TpConfig = &J1939Tp_Config,\r
#endif\r
#if defined(USE_DMA)\r
- .DmaConfig = DmaConfig,\r
+ .DmaConfig = DmaConfig,\r
#endif\r
#if defined(USE_ADC)\r
- .AdcConfig = AdcConfig,\r
+ .AdcConfig = AdcConfig,\r
#endif\r
#if defined(USE_PWM)\r
- .PwmConfig = &PwmConfig,\r
+ .PwmConfig = &PwmConfig,\r
#endif\r
#if defined(USE_WDG)\r
.WdgConfig = &WdgConfig,\r
.WdgIfConfig = &WdgIfConfig,\r
#endif\r
#if defined(USE_GPT)\r
- .GptConfig = GptConfigData,\r
+ .GptConfig = GptConfigData,\r
#endif\r
#if defined(USE_FLS)\r
.FlashConfig = FlsConfigSet,\r
* Configured for (MCU): MPC5604B\r
*\r
* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
+* Generator version: 2.0.3\r
*\r
* Generated by Arctic Studio (http://arccore.com) \r
*/\r
* Configured for (MCU): MPC5604B\r
*\r
* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
+* Generator version: 2.0.3\r
*\r
* Generated by Arctic Studio (http://arccore.com) \r
*/\r
#define MCU_PERFORM_RESET_API STD_ON\r
#define MCU_VERSION_INFO_API STD_ON\r
\r
+\r
+typedef enum {\r
+ MCU_MODE_MCUMODESETTINGCONF = 0,\r
+ MCU_MODE_NORMAL = 1 // Here for backwards compatibility reasons. Not used anymore.\r
+} Mcu_ModeType;\r
+\r
+\r
typedef enum {\r
MCU_CLOCKTYPE_Clock = 0,\r
MCU_NBR_OF_CLOCKS,\r
<?xml version="1.0" encoding="UTF-8"?>\r
-<AUTOSAR xmlns="http://autosar.org/3.1.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://autosar.org/3.1.5 autosar_3-1-5.xsd http://autosar.org/3.1.5 autosar_3-1-5.xsd">\r
+<AUTOSAR xmlns="http://autosar.org/3.1.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://autosar.org/3.1.5 autosar_3-1-5.xsd">\r
<TOP-LEVEL-PACKAGES>\r
<AR-PACKAGE>\r
<SHORT-NAME>os_simple_mpc5604b_trk2</SHORT-NAME>\r
<SHORT-NAME>User_1</SHORT-NAME>\r
<DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMUserConfig</DEFINITION-REF>\r
</CONTAINER>\r
+ <CONTAINER UUID="55ebc04c-c3ac-4b45-98ba-d65c6e3b4930">\r
+ <SHORT-NAME>EcuMDefaultShutdownTarget</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMDefaultShutdownTarget</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <ENUMERATION-VALUE>\r
+ <DEFINITION-REF DEST="ENUMERATION-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMDefaultShutdownTarget/EcuMDefaultState</DEFINITION-REF>\r
+ <VALUE>EcuMStateReset</VALUE>\r
+ </ENUMERATION-VALUE>\r
+ </PARAMETER-VALUES>\r
+ <REFERENCE-VALUES>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="SYMBOLIC-NAME-REFERENCE-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMDefaultShutdownTarget/EcuMDefaultSleepModeRef</DEFINITION-REF>\r
+ </REFERENCE-VALUE>\r
+ </REFERENCE-VALUES>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="38e235f4-c6eb-439c-b63d-c8206c5c9a67">\r
+ <SHORT-NAME>EcuMSleepMode</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode/EcuMSleepModeId</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode/EcuMSleepModeSuspend</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ </PARAMETER-VALUES>\r
+ <REFERENCE-VALUES>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="SYMBOLIC-NAME-REFERENCE-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode/EcuMSleepModeMcuModeRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5604b_trk2/Mcu/McuModuleConfiguration/McuModeSettingConf</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="SYMBOLIC-NAME-REFERENCE-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode/EcuMWakeupSourceMask</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5604b_trk2/EcuM/EcuMConfiguration/EcuMWakeupSource</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ </REFERENCE-VALUES>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="935c6706-25e5-4559-a733-110456eca5fc">\r
+ <SHORT-NAME>EcuMWakeupSource</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource/EcuMResetReason</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ <FLOAT-VALUE>\r
+ <DEFINITION-REF DEST="FLOAT-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource/EcuMValidationTimeout</DEFINITION-REF>\r
+ <VALUE>0.0</VALUE>\r
+ </FLOAT-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource/EcuMWakeupSourceId</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource/EcuMWakeupSourcePolling</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
</SUB-CONTAINERS>\r
</CONTAINER>\r
</CONTAINERS>\r
\r
-MOD_USE += KERNEL ECUM MCU \r
+MOD_USE += MCU KERNEL ECUM \r
\r
+++ /dev/null
-/*\r
-* Configuration of module: EcuM (EcuM_Callout_Stubs.c)\r
-*\r
-* Created by: \r
-* Copyright: \r
-*\r
-* Configured for (MCU): MPC560x\r
-*\r
-* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
-*\r
-* Generated by Arctic Studio (http://arccore.com) \r
-*/\r
-\r
-\r
-#include "EcuM.h"\r
-#include "EcuM_Generated_Types.h"\r
-#include "Det.h"\r
-#if defined(USE_DEM)\r
-#include "Dem.h"\r
-#endif\r
-#if defined(USE_MCU)\r
-#include "Mcu.h"\r
-#endif\r
-#if defined(USE_GPT)\r
-#include "Gpt.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_PDUR)\r
-#include "PduR.h"\r
-#endif\r
-#if defined(USE_COM)\r
-#include "Com.h"\r
-#endif\r
-#if defined(USE_CANTP)\r
-#include "CanTp.h"\r
-#endif\r
-#if defined(USE_J1939TP)\r
-#include "J1939Tp.h"\r
-#endif\r
-#if defined(USE_DCM)\r
-#include "Dcm.h"\r
-#endif\r
-#if defined(USE_PWM)\r
-#include "Pwm.h"\r
-#endif\r
-#if defined(USE_IOHWAB)\r
-#include "IoHwAb.h"\r
-#endif\r
-#if defined(USE_FLS)\r
-#include "Fls.h"\r
-#endif\r
-#if defined(USE_EEP)\r
-#include "Eep.h"\r
-#endif\r
-#if defined(USE_FEE)\r
-#include "Fee.h"\r
-#endif\r
-#if defined(USE_EA)\r
-#include "Ea.h"\r
-#endif\r
-#if defined(USE_NVM)\r
-#include "NvM.h"\r
-#endif\r
-#if defined(USE_COMM)\r
-#include "ComM.h"\r
-#endif\r
-#if defined(USE_NM)\r
-#include "Nm.h"\r
-#endif\r
-#if defined(USE_CANNM)\r
-#include "CanNm.h"\r
-#endif\r
-#if defined(USE_CANSM)\r
-#include "CanSM.h"\r
-#endif\r
-#if defined(USE_UDPNM)\r
-#include "UdpNm.h"\r
-#endif\r
-#if defined(USE_LINSM)\r
-#include "LinSM.h"\r
-#endif\r
-#if defined(USE_SPI)\r
-#include "Spi.h"\r
-#endif\r
-#if defined(USE_WDG)\r
-#include "Wdg.h"\r
-#endif\r
-#if defined(USE_WDGM)\r
-#include "WdgM.h"\r
-#endif\r
-\r
-void EcuM_AL_DriverInitZero(void)\r
-{\r
- Det_Init();/** @req EcuM2783 */\r
- Det_Start();/** @req EcuM2634 */\r
-}\r
-\r
-extern EcuM_ConfigType EcuMConfig;\r
-\r
-EcuM_ConfigType* EcuM_DeterminePbConfiguration(void)\r
-{\r
- return &EcuMConfig;\r
-}\r
-\r
-void EcuM_AL_DriverInitOne(const EcuM_ConfigType *ConfigPtr)\r
-{\r
- (void)ConfigPtr;\r
- //lint --e{715} PC-Lint (715) - ConfigPtr usage depends on configuration of modules\r
-\r
-#if defined(USE_MCU)\r
- Mcu_Init(ConfigPtr->McuConfig);\r
-\r
- /* Set up default clock (Mcu_InitClock requires initRun==1) */\r
- /* Ignoring return value */\r
- (void) Mcu_InitClock( ConfigPtr->McuConfig->McuDefaultClockSettings );\r
-\r
- // Wait for PLL to sync.\r
- while (Mcu_GetPllStatus() != MCU_PLL_LOCKED)\r
- {\r
- ;\r
- }\r
-#endif\r
-\r
-#if defined(USE_DEM)\r
- // Preinitialize DEM\r
- Dem_PreInit();\r
-#endif\r
-\r
-#if defined(USE_PORT)\r
- // Setup Port\r
- Port_Init(ConfigPtr->PortConfig);\r
-#endif\r
-\r
-\r
-#if defined(USE_GPT)\r
- // Setup the GPT\r
- Gpt_Init(ConfigPtr->GptConfig);\r
-#endif\r
-\r
- // Setup watchdog\r
-#if defined(USE_WDG)\r
- Wdg_Init(ConfigPtr->WdgConfig);\r
-#endif\r
-#if defined(USE_WDGM)\r
- WdgM_Init(ConfigPtr->WdgMConfig);\r
-#endif\r
-\r
-#if defined(USE_DMA)\r
- // Setup DMA\r
- Dma_Init(ConfigPtr->DmaConfig);\r
-#endif\r
-\r
-#if defined(USE_ADC)\r
- // Setup ADC\r
- Adc_Init(ConfigPtr->AdcConfig);\r
-#endif\r
-\r
- // Setup ICU\r
- // TODO\r
-\r
- // Setup PWM\r
-#if defined(USE_PWM)\r
- // Setup PWM\r
- Pwm_Init(ConfigPtr->PwmConfig);\r
-#endif\r
-}\r
-\r
-void EcuM_AL_DriverInitTwo(const EcuM_ConfigType* ConfigPtr)\r
-{\r
- (void)ConfigPtr;\r
- //lint --e{715} PC-Lint (715) - ConfigPtr usage depends on configuration of modules\r
-\r
-#if defined(USE_SPI)\r
- // Setup SPI\r
- Spi_Init(ConfigPtr->SpiConfig);\r
-#endif\r
-\r
-#if defined(USE_EEP)\r
- // Setup EEP\r
- Eep_Init(ConfigPtr->EepConfig);\r
-#endif\r
-\r
-#if defined(USE_FLS)\r
- // Setup Flash\r
- Fls_Init(ConfigPtr->FlashConfig);\r
-#endif\r
-\r
-#if defined(USE_FEE)\r
- // Setup FEE\r
- Fee_Init();\r
-#endif\r
-\r
-#if defined(USE_EA)\r
- // Setup EA\r
- Ea_Init();\r
-#endif\r
-\r
-#if defined(USE_NVM)\r
- // Setup NVRAM Manager and start the read all job\r
- NvM_Init();\r
- NvM_ReadAll();\r
-#endif\r
-\r
- // Setup CAN tranceiver\r
- // TODO\r
-\r
-#if defined(USE_CAN)\r
- // Setup Can driver\r
- Can_Init(ConfigPtr->CanConfig);\r
-#endif\r
-\r
-#if defined(USE_CANIF)\r
- // Setup CanIf\r
- CanIf_Init(ConfigPtr->CanIfConfig);\r
-#endif\r
-\r
-#if defined(USE_CANTP)\r
- // Setup CAN TP\r
- CanTp_Init();\r
-#endif\r
-\r
-#if defined(USE_CANSM)\r
- CanSM_Init(ConfigPtr->CanSMConfig);\r
-#endif\r
-\r
-#if defined(USE_J1939TP)\r
- // Setup J1939Tp\r
- J1939Tp_Init(ConfigPtr->J1939TpConfig);\r
-#endif\r
-\r
-\r
- // Setup LIN\r
- // TODO\r
-\r
-#if defined(USE_PDUR)\r
- // Setup PDU Router\r
- PduR_Init(ConfigPtr->PduRConfig);\r
-#endif\r
-\r
-#if defined(USE_CANNM)\r
- // Setup Can Network Manager\r
- CanNm_Init(ConfigPtr->CanNmConfig);\r
-#endif\r
-\r
-#if defined(USE_UDPNM)\r
- // Setup Udp Network Manager\r
- UdpNm_Init(ConfigPtr->UdpNmConfig);\r
-#endif\r
-\r
-#if defined(USE_NM)\r
- // Setup Network Management Interface\r
- Nm_Init(ConfigPtr->NmConfig);\r
-#endif\r
-\r
-#if defined(USE_COM)\r
- // Setup COM layer\r
- Com_Init(ConfigPtr->ComConfig);\r
-#endif\r
-\r
-#if defined(USE_DCM)\r
- // Setup DCM\r
- Dcm_Init();\r
-#endif\r
-\r
-#if defined(USE_IOHWAB)\r
- // Setup IO hardware abstraction layer\r
- IoHwAb_Init();\r
-#endif\r
-\r
-}\r
-\r
-void EcuM_AL_DriverInitThree(const EcuM_ConfigType* ConfigPtr)\r
-{\r
- (void)ConfigPtr;\r
- //lint --e{715} PC-Lint (715) - ConfigPtr usage depends on configuration of modules\r
-\r
-#if defined(USE_DEM)\r
- // Setup DEM\r
- Dem_Init();\r
-#endif\r
-\r
-#if defined(USE_COMM)\r
- // Setup Communication Manager\r
- ComM_Init(ConfigPtr->ComMConfig);\r
-#endif\r
-}\r
-\r
-void EcuM_OnEnterRUN(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnExitRun(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnExitPostRun(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnPrepShutdown(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnGoSleep(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnGoOffOne(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnGoOffTwo(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_AL_SwitchOff(void)\r
-{\r
-\r
-}\r
* Created by: \r
* Copyright: \r
*\r
-* Configured for (MCU): MPC560x\r
+* Configured for (MCU): MPC5606B\r
*\r
* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
+* Generator version: 2.1.10\r
*\r
* Generated by Arctic Studio (http://arccore.com) \r
*/\r
#define ECUM_NVRAM_WRITEALL_TIMEOUT (10000)\r
#define ECUM_NVRAM_MIN_RUN_DURATION (10000)\r
\r
+#define ECUM_VALIDATION_TIMEOUT 0\r
\r
typedef enum {\r
ECUM_USER_User_1,\r
ECUM_USER_ENDMARK // Must be the last in list!\r
} EcuM_UserList;\r
\r
+// EcuM Sleep Mode IDs\r
+#define ECUM_SLEEP_MODE_EcuMSleepMode 0\r
+#define ECUM_SLEEP_MODE_CNT 1\r
+\r
+typedef enum {\r
+ ECUM_WKSOURCE_POWER = (1<<0),\r
+ ECUM_WKSOURCE_RESET = (1<<1),\r
+ ECUM_WKSOURCE_INTERNAL_RESET = (1<<2),\r
+ ECUM_WKSOURCE_INTERNAL_WDG = (1<<3),\r
+ ECUM_WKSOURCE_EXTERNAL_WDG = (1<<4),\r
+ ECUM_WKSOURCE_ECUMWAKEUPSOURCE = (1<<5), \r
+ ECUM_WKSOURCE_ALL_SOURCES = 0x3FFFFFFF\r
+} EcuM_WakeupSourceType ;\r
\r
#endif /*ECUM_CFG_H_*/\r
\r
+++ /dev/null
-/*\r
-* Configuration of module: EcuM (EcuM_Generated_Types.h)\r
-*\r
-* Created by: \r
-* Copyright: \r
-*\r
-* Configured for (MCU): MPC560x\r
-*\r
-* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
-*\r
-* Generated by Arctic Studio (http://arccore.com) \r
-*/\r
-\r
-
-#if !(((ECUM_SW_MAJOR_VERSION == 2) && (ECUM_SW_MINOR_VERSION == 0)) )
-#error EcuM: Configuration file expected BSW module version to be 2.0.*
-#endif
-
-\r
-#ifndef _ECUM_GENERATED_TYPES_H_\r
-#define _ECUM_GENERATED_TYPES_H_\r
-\r
-#ifdef CFG_ECUM_USE_SERVICE_COMPONENT\r
-#include "Rte_EcuM.h"\r
-#endif\r
-\r
-#include "EcuM_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_COMM)\r
-#include "ComM.h"\r
-#endif\r
-#if defined(USE_NM)\r
-#include "Nm.h"\r
-#endif\r
-#if defined(USE_CANNM)\r
-#include "CanNm.h"\r
-#endif\r
-#if defined(USE_CANSM)\r
-#include "CanSM.h"\r
-#endif\r
-#if defined(USE_J1939TP)\r
-#include "J1939Tp.h"\r
-#endif\r
-#if defined(USE_UDPNM)\r
-#include "UdpNm.h"\r
-#endif\r
-#if defined(USE_LINSM)\r
-#include "LinSM.h"\r
-#endif\r
-#if defined(USE_FLS)\r
-#include "Fls.h"\r
-#endif\r
-#if defined(USE_EEP)\r
-#include "Eep.h"\r
-#endif\r
-#if defined(USE_SPI)\r
-#include "Spi.h"\r
-#endif\r
-#if defined(USE_WDG)\r
-#include "Wdg.h"\r
-#endif\r
-#if defined(USE_WDGM)\r
-#include "WdgM.h"\r
-#endif\r
-#if defined(USE_WDGIF)\r
-#include "WdgIf.h"\r
-#endif\r
-\r
-\r
-typedef struct\r
-{\r
- EcuM_StateType EcuMDefaultShutdownTarget;\r
- uint8 EcuMDefaultSleepMode;\r
- AppModeType EcuMDefaultAppMode;\r
- uint32 EcuMRunMinimumDuration;\r
- uint32 EcuMNvramReadAllTimeout;\r
- uint32 EcuMNvramWriteAllTimeout;\r
-\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_CANSM)\r
- const CanSM_ConfigType* CanSMConfig;\r
-#endif\r
-#if defined(USE_NM)\r
- const Nm_ConfigType* NmConfig;\r
-#endif\r
-#if defined(USE_CANNM)\r
- const CanNm_ConfigType* CanNmConfig;\r
-#endif\r
-#if defined(USE_UDPNM)\r
- const UdpNm_ConfigType* UdpNmConfig;\r
-#endif\r
-#if defined(USE_COMM)\r
- const ComM_ConfigType* ComMConfig;\r
-#endif\r
-#if defined(USE_COM)\r
- const Com_ConfigType* ComConfig;\r
-#endif\r
-#if defined(USE_J1939TP)\r
- const J1939Tp_ConfigType* J1939TpConfig;\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_FLS)\r
- const Fls_ConfigType* FlashConfig;\r
-#endif\r
-#if defined(USE_EEP)\r
- const Eep_ConfigType* EepConfig;\r
-#endif\r
-#if defined(USE_SPI)\r
- const Spi_ConfigType* SpiConfig;\r
-#endif\r
-#if defined(USE_WDG)\r
- const Wdg_ConfigType* WdgConfig;\r
-#endif\r
-#if defined(USE_WDGIF)\r
- const WdgIf_ConfigType* WdgIfConfig;\r
-#endif\r
-#if defined(USE_WDGM)\r
- const WdgM_ConfigType* WdgMConfig;\r
-#endif\r
-} EcuM_ConfigType;\r
-\r
-#endif /*_ECUM_GENERATED_TYPES_H_*/\r
* Created by: \r
* Copyright: \r
*\r
-* Configured for (MCU): MPC560x\r
+* Configured for (MCU): MPC5606B\r
*\r
* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
+* Generator version: 2.1.10\r
*\r
* Generated by Arctic Studio (http://arccore.com) \r
*/\r
\r
\r
-\r
#include "EcuM.h"\r
#include "EcuM_Generated_Types.h"\r
\r
extern const J1939Tp_ConfigType J1939Tp_Config;\r
#endif\r
\r
+#if defined(USE_WDGM)\r
+const EcuM_WdgMType EcuM_WdgMConfig = {\r
+ .EcuMSupervisedEntity = NULL,\r
+ .EcuMWdgMWakeupMode = NULL,\r
+ .EcuMWdgMStartupMode = NULL,\r
+ .EcuMWdgMRunMode = NULL,\r
+ .EcuMWdgMPostRunMode = NULL,\r
+ .EcuMWdgMShutdownMode = NULL,\r
+};\r
+#endif\r
+\r
+const EcuM_SleepModeType EcuM_SleepModeConfig[] = {\r
+ { // EcuMSleepMode \r
+ .EcuMSleepModeId = ECUM_SLEEP_MODE_EcuMSleepMode,\r
+ .EcuMWakeupSourceMask = ECUM_WKSOURCE_ECUMWAKEUPSOURCE,\r
+ .EcuMSleepModeMcuMode = MCU_MODE_MCUMODESETTINGCONF,\r
+#if defined(USE_WDGM)\r
+ .EcuMSleepModeWdgMMode = NULL,\r
+#endif\r
+ }\r
+};\r
+\r
+const EcuM_WakeupSourceConfigType EcuM_WakeupSourceConfig[] = {\r
+ { // EcuMWakeupSource \r
+ .EcuMWakeupSourceId = ECUM_WKSOURCE_ECUMWAKEUPSOURCE,\r
+ .EcuMWakeupSourcePolling = false,\r
+ .EcuMValidationTimeout = 0,\r
+#if defined(USE_COMM)\r
+ .EcuMComMChannel = NULL,\r
+#endif\r
+ }\r
+};\r
+\r
\r
EcuM_ConfigType EcuMConfig =\r
{\r
.EcuMNvramReadAllTimeout = ECUM_NVRAM_READALL_TIMEOUT,\r
.EcuMNvramWriteAllTimeout = ECUM_NVRAM_WRITEALL_TIMEOUT,\r
.EcuMRunMinimumDuration = ECUM_NVRAM_MIN_RUN_DURATION,\r
+#if defined(USE_WDGM)\r
+ .EcuMWdgMConfig = &EcuM_WdgMConfig,\r
+#endif\r
+ .EcuMSleepModeConfig = EcuM_SleepModeConfig,\r
\r
#if defined(USE_MCU)\r
- .McuConfig = McuConfigData,\r
+ .McuConfig = McuConfigData,\r
#endif\r
#if defined(USE_PORT)\r
- .PortConfig = &PortConfigData,\r
+ .PortConfig = &PortConfigData,\r
#endif\r
#if defined(USE_CAN)\r
- .CanConfig = &CanConfigData,\r
+ .CanConfig = &CanConfigData,\r
#endif\r
#if defined(USE_CANIF)\r
- .CanIfConfig = &CanIf_Config,\r
+ .CanIfConfig = &CanIf_Config,\r
#endif\r
#if defined(USE_CANSM)\r
- .CanSMConfig = &CanSM_Config,\r
+ .CanSMConfig = &CanSM_Config,\r
#endif\r
#if defined(USE_CANNM)\r
- .CanNmConfig = &CanNm_Config,\r
+ .CanNmConfig = &CanNm_Config,\r
#endif\r
#if defined(USE_UDPNM)\r
- .UdpNmConfig = &UdpNm_Config,\r
+ .UdpNmConfig = &UdpNm_Config,\r
#endif\r
#if defined(USE_COM)\r
- .ComConfig = &ComConfiguration,\r
+ .ComConfig = &ComConfiguration,\r
#endif\r
#if defined(USE_COMM)\r
- .ComMConfig = &ComM_Config,\r
+ .ComMConfig = &ComM_Config,\r
#endif\r
#if defined(USE_J1939TP)\r
- .J1939TpConfig = &J1939Tp_Config,\r
+ .J1939TpConfig = &J1939Tp_Config,\r
#endif\r
#if defined(USE_NM)\r
- .NmConfig = &Nm_Config,\r
+ .NmConfig = &Nm_Config,\r
#endif\r
#if defined(USE_PDUR)\r
- .PduRConfig = &PduR_Config,\r
+ .PduRConfig = &PduR_Config,\r
#endif\r
#if defined(USE_J1939TP)\r
- .J1939TpConfig = &J1939Tp_Config,\r
+ .J1939TpConfig = &J1939Tp_Config,\r
#endif\r
#if defined(USE_DMA)\r
- .DmaConfig = DmaConfig,\r
+ .DmaConfig = DmaConfig,\r
#endif\r
#if defined(USE_ADC)\r
- .AdcConfig = AdcConfig,\r
+ .AdcConfig = AdcConfig,\r
#endif\r
#if defined(USE_PWM)\r
- .PwmConfig = &PwmConfig,\r
+ .PwmConfig = &PwmConfig,\r
#endif\r
#if defined(USE_WDG)\r
.WdgConfig = &WdgConfig,\r
.WdgIfConfig = &WdgIfConfig,\r
#endif\r
#if defined(USE_GPT)\r
- .GptConfig = GptConfigData,\r
+ .GptConfig = GptConfigData,\r
#endif\r
#if defined(USE_FLS)\r
.FlashConfig = FlsConfigSet,\r
* Created by: \r
* Copyright: \r
*\r
-* Configured for (MCU): MPC560x\r
+* Configured for (MCU): MPC5606B\r
*\r
* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
+* Generator version: 2.0.3\r
*\r
* Generated by Arctic Studio (http://arccore.com) \r
*/\r
* Created by: \r
* Copyright: \r
*\r
-* Configured for (MCU): MPC560x\r
+* Configured for (MCU): MPC5606B\r
*\r
* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
+* Generator version: 2.0.3\r
*\r
* Generated by Arctic Studio (http://arccore.com) \r
*/\r
#define MCU_CFG_H_\r
\r
\r
-#define MCU_DEV_ERROR_DETECT STD_OFF \r
+#define MCU_DEV_ERROR_DETECT STD_ON \r
#define MCU_PERFORM_RESET_API STD_ON\r
#define MCU_VERSION_INFO_API STD_ON\r
\r
+\r
+typedef enum {\r
+ MCU_MODE_MCUMODESETTINGCONF = 0,\r
+ MCU_MODE_NORMAL = 1 // Here for backwards compatibility reasons. Not used anymore.\r
+} Mcu_ModeType;\r
+\r
+\r
typedef enum {\r
MCU_CLOCKTYPE_Clock = 0,\r
MCU_NBR_OF_CLOCKS,\r
* Created by: \r
* Copyright: \r
*\r
-* Configured for (MCU): MPC560x\r
+* Configured for (MCU): MPC5606B\r
*\r
* Module vendor: ArcCore\r
* Generator version: 2.0.34\r
* Created by: \r
* Copyright: \r
*\r
-* Configured for (MCU): MPC560x\r
+* Configured for (MCU): MPC5606B\r
*\r
* Module vendor: ArcCore\r
* Generator version: 2.0.34\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<AUTOSAR xmlns="http://autosar.org/3.2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://autosar.org/3.2.1 autosar_3-2-1.xsd">\r
+ <TOP-LEVEL-PACKAGES>\r
+ <AR-PACKAGE>\r
+ <SHORT-NAME>os_simple_mpc5606b_xpc560b</SHORT-NAME>\r
+ <ELEMENTS>\r
+ <ECU-CONFIGURATION UUID="31dd91d4-1bd2-4138-8280-61c1fa6885aa">\r
+ <SHORT-NAME>os_simple_mpc5606b_xpc560b</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <DOC-REVISIONS>\r
+ <DOC-REVISION />\r
+ </DOC-REVISIONS>\r
+ <SDGS>\r
+ <SDG GID="Arccore::EcuOptions">\r
+ <SD GID="MCU">MPC5606B</SD>\r
+ <SD GID="GENDIR">${RESOURCE_LOC}/config</SD>\r
+ </SDG>\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <ECU-SW-COMPOSITION-REF DEST="ECU-SW-COMPOSITION">/os_simple_mpc5606b_xpc560b/SwComposition_os_simple_mpc5606b_xpc560b</ECU-SW-COMPOSITION-REF>\r
+ <MODULE-REFS>\r
+ <MODULE-REF DEST="MODULE-CONFIGURATION">/os_simple_mpc5606b_xpc560b/Mcu</MODULE-REF>\r
+ <MODULE-REF DEST="MODULE-CONFIGURATION">/os_simple_mpc5606b_xpc560b/Os</MODULE-REF>\r
+ <MODULE-REF DEST="MODULE-CONFIGURATION">/os_simple_mpc5606b_xpc560b/EcuM</MODULE-REF>\r
+ </MODULE-REFS>\r
+ </ECU-CONFIGURATION>\r
+ <ECU-SW-COMPOSITION UUID="abbc1d25-3315-4599-a8db-194f8715b367">\r
+ <SHORT-NAME>SwComposition_os_simple_mpc5606b_xpc560b</SHORT-NAME>\r
+ </ECU-SW-COMPOSITION>\r
+ <MODULE-CONFIGURATION UUID="45241495-6a31-45b0-b9cd-a62cbcdd311f">\r
+ <SHORT-NAME>Mcu</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG />\r
+ <SDG GID="Arccore::ModuleOptions">\r
+ <SD GID="GENERATE_AND_VALIDATE">true</SD>\r
+ <SD GID="ARCCORE_EDITOR_VERSION">2.0.3</SD>\r
+ </SDG>\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="MODULE-DEF">/ArcCore/Mcu</DEFINITION-REF>\r
+ <CONTAINERS>\r
+ <CONTAINER UUID="2d3ff5de-6be9-4a10-895b-fef0a5c6c9cd">\r
+ <SHORT-NAME>McuGeneralConfiguration</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Mcu/McuGeneralConfiguration</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Mcu/McuGeneralConfiguration/McuDevErrorDetect</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Mcu/McuGeneralConfiguration/McuPerformResetApi</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Mcu/McuGeneralConfiguration/McuVersionInfoApi</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="ebbd066b-f085-41cc-b622-836446a57488">\r
+ <SHORT-NAME>McuModuleConfiguration</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Mcu/McuModuleConfiguration</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <ENUMERATION-VALUE>\r
+ <DEFINITION-REF DEST="ENUMERATION-PARAM-DEF">/ArcCore/Mcu/McuModuleConfiguration/McuClockSrcFailureNotification</DEFINITION-REF>\r
+ <VALUE>DISABLED</VALUE>\r
+ </ENUMERATION-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="DERIVED-INTEGER-PARAM-DEF">/ArcCore/Mcu/McuModuleConfiguration/McuNumberOfMcuModes</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="DERIVED-INTEGER-PARAM-DEF">/ArcCore/Mcu/McuModuleConfiguration/McuRamSectors</DEFINITION-REF>\r
+ <VALUE>1</VALUE>\r
+ </INTEGER-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Mcu/McuModuleConfiguration/McuResetSetting</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ </PARAMETER-VALUES>\r
+ <SUB-CONTAINERS>\r
+ <CONTAINER UUID="ccc563c9-1d57-45a1-87cd-2f999bba8c96">\r
+ <SHORT-NAME>McuClockSettingConfig</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Mcu/McuModuleConfiguration/McuClockSettingConfig</DEFINITION-REF>\r
+ <REFERENCE-VALUES>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="REFERENCE-PARAM-DEF">/ArcCore/Mcu/McuModuleConfiguration/McuClockSettingConfig/McuDefaultClockReference</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Mcu/McuModuleConfiguration/McuClockSettingConfig/Clock</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ </REFERENCE-VALUES>\r
+ <SUB-CONTAINERS>\r
+ <CONTAINER UUID="30318428-ed61-4d8a-9f41-113eb6587820">\r
+ <SHORT-NAME>Clock</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Mcu/McuModuleConfiguration/McuClockSettingConfig/McuClockReferencePoint</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <FLOAT-VALUE>\r
+ <DEFINITION-REF DEST="FLOAT-PARAM-DEF">/ArcCore/Mcu/McuModuleConfiguration/McuClockSettingConfig/McuClockReferencePoint/McuClockReferencePointFrequency</DEFINITION-REF>\r
+ <VALUE>8000000.0</VALUE>\r
+ </FLOAT-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Mcu/McuModuleConfiguration/McuClockSettingConfig/McuClockReferencePoint/McuClockReferencePointPllEprediv</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Mcu/McuModuleConfiguration/McuClockSettingConfig/McuClockReferencePoint/McuClockReferencePointPllEmfd</DEFINITION-REF>\r
+ <VALUE>64</VALUE>\r
+ </INTEGER-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Mcu/McuModuleConfiguration/McuClockSettingConfig/McuClockReferencePoint/McuClockReferencePointPllErfd</DEFINITION-REF>\r
+ <VALUE>2</VALUE>\r
+ </INTEGER-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
+ </SUB-CONTAINERS>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="c99887cb-fa12-4e59-90d4-b19669bf9491">\r
+ <SHORT-NAME>McuModeSettingConf</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Mcu/McuModuleConfiguration/McuModeSettingConf</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Mcu/McuModuleConfiguration/McuModeSettingConf/McuMode</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
+ </SUB-CONTAINERS>\r
+ </CONTAINER>\r
+ </CONTAINERS>\r
+ </MODULE-CONFIGURATION>\r
+ <MODULE-CONFIGURATION UUID="cf6eedc8-cbe2-4faa-8a6e-b8308eaabda2">\r
+ <SHORT-NAME>Os</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG />\r
+ <SDG GID="Arccore::ModuleOptions">\r
+ <SD GID="GENERATE_AND_VALIDATE">true</SD>\r
+ <SD GID="ARCCORE_EDITOR_VERSION">2.0.22</SD>\r
+ </SDG>\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="MODULE-DEF">/ArcCore/Os</DEFINITION-REF>\r
+ <CONTAINERS>\r
+ <CONTAINER UUID="ba7590ce-ad93-4061-bfa0-fdd660cd8edc">\r
+ <SHORT-NAME>OsOS</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsOS</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/OsStackMonitoring</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <ENUMERATION-VALUE>\r
+ <DEFINITION-REF DEST="ENUMERATION-PARAM-DEF">/ArcCore/Os/OsOS/OsStatus</DEFINITION-REF>\r
+ <VALUE>EXTENDED</VALUE>\r
+ </ENUMERATION-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/OsUseGetServiceId</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/OsUseParameterAccess</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/OsUseResScheduler</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsOS/OsTickFrequency</DEFINITION-REF>\r
+ <VALUE>1000</VALUE>\r
+ </INTEGER-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsOS/OsInterruptStackSize</DEFINITION-REF>\r
+ <VALUE>2048</VALUE>\r
+ </INTEGER-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsOS/OsIdleStackSize</DEFINITION-REF>\r
+ <VALUE>512</VALUE>\r
+ </INTEGER-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/ArcCoreOsUseDebug</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/ArcCoreOsDebugTask</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/ArcCoreOsDebugAlarm</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/ArcCoreOsDebugResource</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/ArcCoreOsDebugScheduleTable</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/ArcCoreOsDebugEvent</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsOS/ArcOsIsrMaxCount</DEFINITION-REF>\r
+ <VALUE>10</VALUE>\r
+ </INTEGER-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsOS/OsNumberOfCores</DEFINITION-REF>\r
+ <VALUE>1</VALUE>\r
+ </INTEGER-VALUE>\r
+ </PARAMETER-VALUES>\r
+ <SUB-CONTAINERS>\r
+ <CONTAINER UUID="e3564f08-19f7-49f1-830b-cf36426e3737">\r
+ <SHORT-NAME>OsHooks</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsOS/OsHooks</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/OsHooks/OsErrorHook</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/OsHooks/OsPostTaskHook</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/OsHooks/OsPreTaskHook</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/OsHooks/OsProtectionHook</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/OsHooks/OsShutdownHook</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsOS/OsHooks/OsStartupHook</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
+ </SUB-CONTAINERS>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="7d1bd13e-4e40-4788-adf0-92fb2f505a0a">\r
+ <SHORT-NAME>Alarm1</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsAlarm</DEFINITION-REF>\r
+ <REFERENCE-VALUES>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="REFERENCE-PARAM-DEF">/ArcCore/Os/OsAlarm/OsAlarmCounterRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Os/Counter1</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ </REFERENCE-VALUES>\r
+ <SUB-CONTAINERS>\r
+ <CONTAINER UUID="c9304933-b723-42e4-ba88-8cce6de02eda">\r
+ <SHORT-NAME>OsAlarmAction</SHORT-NAME>\r
+ <DEFINITION-REF DEST="CHOICE-CONTAINER-DEF">/ArcCore/Os/OsAlarm/OsAlarmAction</DEFINITION-REF>\r
+ <SUB-CONTAINERS>\r
+ <CONTAINER UUID="d448045c-da6f-4b95-833d-bff6bc2ec9ea">\r
+ <SHORT-NAME>OsAlarmSetEvent</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsAlarm/OsAlarmAction/OsAlarmSetEvent</DEFINITION-REF>\r
+ <REFERENCE-VALUES>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="REFERENCE-PARAM-DEF">/ArcCore/Os/OsAlarm/OsAlarmAction/OsAlarmSetEvent/OsAlarmSetEventRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Os/Event1</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="REFERENCE-PARAM-DEF">/ArcCore/Os/OsAlarm/OsAlarmAction/OsAlarmSetEvent/OsAlarmSetEventTaskRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Os/eTask2</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ </REFERENCE-VALUES>\r
+ </CONTAINER>\r
+ </SUB-CONTAINERS>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="64f5aeb9-1ad4-49be-b4c8-c59121511d1b">\r
+ <SHORT-NAME>OsAlarmAutostart</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsAlarm/OsAlarmAutostart</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsAlarm/OsAlarmAutostart/OsAlarmAlarmTime</DEFINITION-REF>\r
+ <VALUE>100</VALUE>\r
+ </INTEGER-VALUE>\r
+ <ENUMERATION-VALUE>\r
+ <DEFINITION-REF DEST="ENUMERATION-PARAM-DEF">/ArcCore/Os/OsAlarm/OsAlarmAutostart/OsAlarmAutostartType</DEFINITION-REF>\r
+ <VALUE>RELATIVE</VALUE>\r
+ </ENUMERATION-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsAlarm/OsAlarmAutostart/OsAlarmCycleTime</DEFINITION-REF>\r
+ <VALUE>100</VALUE>\r
+ </INTEGER-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="46add099-5cd4-4e43-9c48-6c6808c2ccf5">\r
+ <SHORT-NAME>OsAlarmSetEvent</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsAlarm/OsAlarmAction/OsAlarmSetEvent</DEFINITION-REF>\r
+ <REFERENCE-VALUES>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="REFERENCE-PARAM-DEF">/ArcCore/Os/OsAlarm/OsAlarmAction/OsAlarmSetEvent/OsAlarmSetEventRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Os/Event1</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="REFERENCE-PARAM-DEF">/ArcCore/Os/OsAlarm/OsAlarmAction/OsAlarmSetEvent/OsAlarmSetEventTaskRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Os/eTask1</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ </REFERENCE-VALUES>\r
+ </CONTAINER>\r
+ </SUB-CONTAINERS>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="eb2e6ebd-d088-41d5-813a-abadaa8f1f0b">\r
+ <SHORT-NAME>bTask3</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsTask</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskActivation</DEFINITION-REF>\r
+ <VALUE>1</VALUE>\r
+ </INTEGER-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskPriority</DEFINITION-REF>\r
+ <VALUE>1</VALUE>\r
+ </INTEGER-VALUE>\r
+ <ENUMERATION-VALUE>\r
+ <DEFINITION-REF DEST="ENUMERATION-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskProcessType</DEFINITION-REF>\r
+ <VALUE>BASIC</VALUE>\r
+ </ENUMERATION-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsTask/ArcCoreOsTaskStackSize</DEFINITION-REF>\r
+ <VALUE>2048</VALUE>\r
+ </INTEGER-VALUE>\r
+ <ENUMERATION-VALUE>\r
+ <DEFINITION-REF DEST="ENUMERATION-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskSchedule</DEFINITION-REF>\r
+ <VALUE>FULL</VALUE>\r
+ </ENUMERATION-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="ad0439ff-be08-4261-bc7b-54283e716481">\r
+ <SHORT-NAME>eTask1</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsTask</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskActivation</DEFINITION-REF>\r
+ <VALUE>1</VALUE>\r
+ </INTEGER-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskPriority</DEFINITION-REF>\r
+ <VALUE>1</VALUE>\r
+ </INTEGER-VALUE>\r
+ <ENUMERATION-VALUE>\r
+ <DEFINITION-REF DEST="ENUMERATION-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskProcessType</DEFINITION-REF>\r
+ <VALUE>EXTENDED</VALUE>\r
+ </ENUMERATION-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsTask/ArcCoreOsTaskStackSize</DEFINITION-REF>\r
+ <VALUE>2048</VALUE>\r
+ </INTEGER-VALUE>\r
+ <ENUMERATION-VALUE>\r
+ <DEFINITION-REF DEST="ENUMERATION-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskSchedule</DEFINITION-REF>\r
+ <VALUE>FULL</VALUE>\r
+ </ENUMERATION-VALUE>\r
+ </PARAMETER-VALUES>\r
+ <REFERENCE-VALUES>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="REFERENCE-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskEventRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Os/Event1</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ </REFERENCE-VALUES>\r
+ <SUB-CONTAINERS>\r
+ <CONTAINER UUID="8e5ee23c-83d6-4136-8235-6bba389ba621">\r
+ <SHORT-NAME>OsTaskAutostart</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsTask/OsTaskAutostart</DEFINITION-REF>\r
+ </CONTAINER>\r
+ </SUB-CONTAINERS>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="e87c7130-11ca-434d-9f87-4da6f5367ed6">\r
+ <SHORT-NAME>eTask2</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsTask</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskActivation</DEFINITION-REF>\r
+ <VALUE>1</VALUE>\r
+ </INTEGER-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskPriority</DEFINITION-REF>\r
+ <VALUE>1</VALUE>\r
+ </INTEGER-VALUE>\r
+ <ENUMERATION-VALUE>\r
+ <DEFINITION-REF DEST="ENUMERATION-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskProcessType</DEFINITION-REF>\r
+ <VALUE>EXTENDED</VALUE>\r
+ </ENUMERATION-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsTask/ArcCoreOsTaskStackSize</DEFINITION-REF>\r
+ <VALUE>2048</VALUE>\r
+ </INTEGER-VALUE>\r
+ <ENUMERATION-VALUE>\r
+ <DEFINITION-REF DEST="ENUMERATION-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskSchedule</DEFINITION-REF>\r
+ <VALUE>FULL</VALUE>\r
+ </ENUMERATION-VALUE>\r
+ </PARAMETER-VALUES>\r
+ <REFERENCE-VALUES>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="REFERENCE-PARAM-DEF">/ArcCore/Os/OsTask/OsTaskEventRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Os/Event2</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ </REFERENCE-VALUES>\r
+ <SUB-CONTAINERS>\r
+ <CONTAINER UUID="68e625e6-815e-4b13-ad0c-e150fe3b50b0">\r
+ <SHORT-NAME>OsTaskAutostart</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsTask/OsTaskAutostart</DEFINITION-REF>\r
+ </CONTAINER>\r
+ </SUB-CONTAINERS>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="9ebec7a5-3b4a-4deb-92c5-77a67eda979b">\r
+ <SHORT-NAME>Event1</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsEvent</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsEvent/OsEventMask</DEFINITION-REF>\r
+ <VALUE>1</VALUE>\r
+ </INTEGER-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsEvent/ArcOsEventAutoMask</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsEvent/ArcOsEventId</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="b3d27dc1-6efc-4eb8-8c33-1502ae5ab5ea">\r
+ <SHORT-NAME>Event2</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsEvent</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsEvent/OsEventMask</DEFINITION-REF>\r
+ <VALUE>2</VALUE>\r
+ </INTEGER-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsEvent/ArcOsEventAutoMask</DEFINITION-REF>\r
+ <VALUE>true</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsEvent/ArcOsEventId</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="f7992fcb-1ea5-400d-a4d3-0910c9eafef8">\r
+ <SHORT-NAME>OsApplication1</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsApplication</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsApplication/ArcOsAppCoreId</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsApplication/OsTrusted</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ </PARAMETER-VALUES>\r
+ <REFERENCE-VALUES>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="REFERENCE-PARAM-DEF">/ArcCore/Os/OsApplication/OsAppAlarmRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Os/Alarm1</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="REFERENCE-PARAM-DEF">/ArcCore/Os/OsApplication/OsAppTaskRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Os/bTask3</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="REFERENCE-PARAM-DEF">/ArcCore/Os/OsApplication/OsAppTaskRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Os/eTask1</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="REFERENCE-PARAM-DEF">/ArcCore/Os/OsApplication/OsAppTaskRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Os/eTask2</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="REFERENCE-PARAM-DEF">/ArcCore/Os/OsApplication/OsAppCounterRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Os/Counter1</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ </REFERENCE-VALUES>\r
+ <SUB-CONTAINERS>\r
+ <CONTAINER UUID="2a2512ab-146e-41a1-84ad-8ea8c82ff3a2">\r
+ <SHORT-NAME>OsApplicationHooks</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsApplication/OsApplicationHooks</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsApplication/OsApplicationHooks/OsAppErrorHook</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsApplication/OsApplicationHooks/OsAppShutdownHook</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/Os/OsApplication/OsApplicationHooks/OsAppStartupHook</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
+ </SUB-CONTAINERS>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="adaa85ff-963b-46a3-8704-d8042922a24b">\r
+ <SHORT-NAME>Counter1</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/Os/OsCounter</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsCounter/OsCounterMaxAllowedValue</DEFINITION-REF>\r
+ <VALUE>65535</VALUE>\r
+ </INTEGER-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsCounter/OsCounterMinCycle</DEFINITION-REF>\r
+ <VALUE>1</VALUE>\r
+ </INTEGER-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/Os/OsCounter/OsCounterTicksPerBase</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ <ENUMERATION-VALUE>\r
+ <DEFINITION-REF DEST="ENUMERATION-PARAM-DEF">/ArcCore/Os/OsCounter/OsCounterType</DEFINITION-REF>\r
+ <VALUE>OS_TICK</VALUE>\r
+ </ENUMERATION-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
+ </CONTAINERS>\r
+ </MODULE-CONFIGURATION>\r
+ <MODULE-CONFIGURATION UUID="86eaba2e-f42b-4f63-8c00-1297eb723cee">\r
+ <SHORT-NAME>EcuM</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG />\r
+ <SDG GID="Arccore::ModuleOptions">\r
+ <SD GID="GENERATE_AND_VALIDATE">true</SD>\r
+ <SD GID="ARCCORE_EDITOR_VERSION">2.0.2</SD>\r
+ </SDG>\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="MODULE-DEF">/ArcCore/EcuM</DEFINITION-REF>\r
+ <CONTAINERS>\r
+ <CONTAINER UUID="130b2d30-8f10-4504-beff-858d69f2c994">\r
+ <SHORT-NAME>EcuMGeneral</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMGeneral</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/EcuM/EcuMGeneral/EcuMDevErrorDetect</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/EcuM/EcuMGeneral/EcuMIncludeNvramMgr</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/EcuM/EcuMGeneral/EcuMVersionInfoApi</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ <FLOAT-VALUE>\r
+ <DEFINITION-REF DEST="FLOAT-PARAM-DEF">/ArcCore/EcuM/EcuMGeneral/EcuMMainFunctionPeriod</DEFINITION-REF>\r
+ <VALUE>0.2</VALUE>\r
+ </FLOAT-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="acb09264-2073-45c9-a349-2e63e672e3a4">\r
+ <SHORT-NAME>EcuMConfiguration</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMConfiguration</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <FLOAT-VALUE>\r
+ <DEFINITION-REF DEST="FLOAT-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMNvramReadallTimeout</DEFINITION-REF>\r
+ <VALUE>10.0</VALUE>\r
+ </FLOAT-VALUE>\r
+ <FLOAT-VALUE>\r
+ <DEFINITION-REF DEST="FLOAT-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMRunMinimumDuration</DEFINITION-REF>\r
+ <VALUE>10.0</VALUE>\r
+ </FLOAT-VALUE>\r
+ <FLOAT-VALUE>\r
+ <DEFINITION-REF DEST="FLOAT-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMNvramWriteallTimeout</DEFINITION-REF>\r
+ <VALUE>10.0</VALUE>\r
+ </FLOAT-VALUE>\r
+ </PARAMETER-VALUES>\r
+ <SUB-CONTAINERS>\r
+ <CONTAINER UUID="9d7a102f-abf7-435b-9bd1-9a47ca92ab0f">\r
+ <SHORT-NAME>User_1</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMUserConfig</DEFINITION-REF>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="1b4273d3-c3b3-4453-ac80-217359bd9040">\r
+ <SHORT-NAME>EcuMDefaultShutdownTarget</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMDefaultShutdownTarget</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <ENUMERATION-VALUE>\r
+ <DEFINITION-REF DEST="ENUMERATION-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMDefaultShutdownTarget/EcuMDefaultState</DEFINITION-REF>\r
+ <VALUE>EcuMStateReset</VALUE>\r
+ </ENUMERATION-VALUE>\r
+ </PARAMETER-VALUES>\r
+ <REFERENCE-VALUES>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="SYMBOLIC-NAME-REFERENCE-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMDefaultShutdownTarget/EcuMDefaultSleepModeRef</DEFINITION-REF>\r
+ </REFERENCE-VALUE>\r
+ </REFERENCE-VALUES>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="0cee491c-d5c5-4fba-9457-aaab7e7f6bdc">\r
+ <SHORT-NAME>EcuMSleepMode</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode/EcuMSleepModeId</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode/EcuMSleepModeSuspend</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ </PARAMETER-VALUES>\r
+ <REFERENCE-VALUES>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="SYMBOLIC-NAME-REFERENCE-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode/EcuMSleepModeMcuModeRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/Mcu/McuModuleConfiguration/McuModeSettingConf</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="SYMBOLIC-NAME-REFERENCE-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode/EcuMWakeupSourceMask</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606b_xpc560b/EcuM/EcuMConfiguration/EcuMWakeupSource</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ </REFERENCE-VALUES>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="fa7fce0c-4714-4717-8bb2-a27a7a28fedb">\r
+ <SHORT-NAME>EcuMWakeupSource</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource/EcuMResetReason</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ <FLOAT-VALUE>\r
+ <DEFINITION-REF DEST="FLOAT-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource/EcuMValidationTimeout</DEFINITION-REF>\r
+ <VALUE>0.0</VALUE>\r
+ </FLOAT-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource/EcuMWakeupSourceId</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource/EcuMWakeupSourcePolling</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
+ </SUB-CONTAINERS>\r
+ </CONTAINER>\r
+ </CONTAINERS>\r
+ </MODULE-CONFIGURATION>\r
+ </ELEMENTS>\r
+ </AR-PACKAGE>\r
+ </TOP-LEVEL-PACKAGES>\r
+</AUTOSAR>\r
+\r
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<AUTOSAR xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://autosar.org/3.1.5" xsi:schemaLocation="http://autosar.org/3.1.5 autosar_3-1-5.xsd"><TOP-LEVEL-PACKAGES>\r
- <AR-PACKAGE>\r
- <SHORT-NAME>board_mpc5606s_xpc560s</SHORT-NAME>\r
- <ELEMENTS>\r
- <ECU-CONFIGURATION UUID="c582a01a-853f-4e23-913b-a6879e1e16df">\r
- <SHORT-NAME>board_mpc5606s_xpc560s</SHORT-NAME>\r
- <ADMIN-DATA>\r
- <SDGS>\r
- <SDG GID="Arccore::EcuOptions">\r
- <SD GID="MCU">MPC560x</SD>\r
- <SD GID="GENDIR">${RESOURCE_LOC}</SD>\r
- </SDG>\r
- </SDGS>\r
- </ADMIN-DATA>\r
- <ECU-SW-COMPOSITION-REF DEST="ECU-SW-COMPOSITION">/board_mpc5606s_xpc560s/SwComposition_board_mpc5606s_xpc560s</ECU-SW-COMPOSITION-REF>\r
- </ECU-CONFIGURATION>\r
- <ECU-SW-COMPOSITION UUID="d3b2a44e-fc68-44fb-8af5-3e67acf5a3c5">\r
- <SHORT-NAME>SwComposition_board_mpc5606s_xpc560s</SHORT-NAME>\r
- </ECU-SW-COMPOSITION>\r
- </ELEMENTS>\r
- </AR-PACKAGE>\r
- </TOP-LEVEL-PACKAGES></AUTOSAR>\r
+++ /dev/null
-/*\r
-* Configuration of module: EcuM (EcuM_Callout_Stubs.c)\r
-*\r
-* Created by: \r
-* Copyright: \r
-*\r
-* Configured for (MCU): MPC560x\r
-*\r
-* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
-*\r
-* Generated by Arctic Studio (http://arccore.com) \r
-*/\r
-\r
-\r
-#include "EcuM.h"\r
-#include "EcuM_Generated_Types.h"\r
-#include "Det.h"\r
-#if defined(USE_DEM)\r
-#include "Dem.h"\r
-#endif\r
-#if defined(USE_MCU)\r
-#include "Mcu.h"\r
-#endif\r
-#if defined(USE_GPT)\r
-#include "Gpt.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_PDUR)\r
-#include "PduR.h"\r
-#endif\r
-#if defined(USE_COM)\r
-#include "Com.h"\r
-#endif\r
-#if defined(USE_CANTP)\r
-#include "CanTp.h"\r
-#endif\r
-#if defined(USE_J1939TP)\r
-#include "J1939Tp.h"\r
-#endif\r
-#if defined(USE_DCM)\r
-#include "Dcm.h"\r
-#endif\r
-#if defined(USE_PWM)\r
-#include "Pwm.h"\r
-#endif\r
-#if defined(USE_IOHWAB)\r
-#include "IoHwAb.h"\r
-#endif\r
-#if defined(USE_FLS)\r
-#include "Fls.h"\r
-#endif\r
-#if defined(USE_EEP)\r
-#include "Eep.h"\r
-#endif\r
-#if defined(USE_FEE)\r
-#include "Fee.h"\r
-#endif\r
-#if defined(USE_EA)\r
-#include "Ea.h"\r
-#endif\r
-#if defined(USE_NVM)\r
-#include "NvM.h"\r
-#endif\r
-#if defined(USE_COMM)\r
-#include "ComM.h"\r
-#endif\r
-#if defined(USE_NM)\r
-#include "Nm.h"\r
-#endif\r
-#if defined(USE_CANNM)\r
-#include "CanNm.h"\r
-#endif\r
-#if defined(USE_CANSM)\r
-#include "CanSM.h"\r
-#endif\r
-#if defined(USE_UDPNM)\r
-#include "UdpNm.h"\r
-#endif\r
-#if defined(USE_LINSM)\r
-#include "LinSM.h"\r
-#endif\r
-#if defined(USE_SPI)\r
-#include "Spi.h"\r
-#endif\r
-#if defined(USE_WDG)\r
-#include "Wdg.h"\r
-#endif\r
-#if defined(USE_WDGM)\r
-#include "WdgM.h"\r
-#endif\r
-\r
-void EcuM_AL_DriverInitZero(void)\r
-{\r
- Det_Init();/** @req EcuM2783 */\r
- Det_Start();/** @req EcuM2634 */\r
-}\r
-\r
-extern EcuM_ConfigType EcuMConfig;\r
-\r
-EcuM_ConfigType* EcuM_DeterminePbConfiguration(void)\r
-{\r
- return &EcuMConfig;\r
-}\r
-\r
-void EcuM_AL_DriverInitOne(const EcuM_ConfigType *ConfigPtr)\r
-{\r
- (void)ConfigPtr;\r
- //lint --e{715} PC-Lint (715) - ConfigPtr usage depends on configuration of modules\r
-\r
-#if defined(USE_MCU)\r
- Mcu_Init(ConfigPtr->McuConfig);\r
-\r
- /* Set up default clock (Mcu_InitClock requires initRun==1) */\r
- /* Ignoring return value */\r
- (void) Mcu_InitClock( ConfigPtr->McuConfig->McuDefaultClockSettings );\r
-\r
- // Wait for PLL to sync.\r
- while (Mcu_GetPllStatus() != MCU_PLL_LOCKED)\r
- {\r
- ;\r
- }\r
-#endif\r
-\r
-#if defined(USE_DEM)\r
- // Preinitialize DEM\r
- Dem_PreInit();\r
-#endif\r
-\r
-#if defined(USE_PORT)\r
- // Setup Port\r
- Port_Init(ConfigPtr->PortConfig);\r
-#endif\r
-\r
-\r
-#if defined(USE_GPT)\r
- // Setup the GPT\r
- Gpt_Init(ConfigPtr->GptConfig);\r
-#endif\r
-\r
- // Setup watchdog\r
-#if defined(USE_WDG)\r
- Wdg_Init(ConfigPtr->WdgConfig);\r
-#endif\r
-#if defined(USE_WDGM)\r
- WdgM_Init(ConfigPtr->WdgMConfig);\r
-#endif\r
-\r
-#if defined(USE_DMA)\r
- // Setup DMA\r
- Dma_Init(ConfigPtr->DmaConfig);\r
-#endif\r
-\r
-#if defined(USE_ADC)\r
- // Setup ADC\r
- Adc_Init(ConfigPtr->AdcConfig);\r
-#endif\r
-\r
- // Setup ICU\r
- // TODO\r
-\r
- // Setup PWM\r
-#if defined(USE_PWM)\r
- // Setup PWM\r
- Pwm_Init(ConfigPtr->PwmConfig);\r
-#endif\r
-}\r
-\r
-void EcuM_AL_DriverInitTwo(const EcuM_ConfigType* ConfigPtr)\r
-{\r
- (void)ConfigPtr;\r
- //lint --e{715} PC-Lint (715) - ConfigPtr usage depends on configuration of modules\r
-\r
-#if defined(USE_SPI)\r
- // Setup SPI\r
- Spi_Init(ConfigPtr->SpiConfig);\r
-#endif\r
-\r
-#if defined(USE_EEP)\r
- // Setup EEP\r
- Eep_Init(ConfigPtr->EepConfig);\r
-#endif\r
-\r
-#if defined(USE_FLS)\r
- // Setup Flash\r
- Fls_Init(ConfigPtr->FlashConfig);\r
-#endif\r
-\r
-#if defined(USE_FEE)\r
- // Setup FEE\r
- Fee_Init();\r
-#endif\r
-\r
-#if defined(USE_EA)\r
- // Setup EA\r
- Ea_Init();\r
-#endif\r
-\r
-#if defined(USE_NVM)\r
- // Setup NVRAM Manager and start the read all job\r
- NvM_Init();\r
- NvM_ReadAll();\r
-#endif\r
-\r
- // Setup CAN tranceiver\r
- // TODO\r
-\r
-#if defined(USE_CAN)\r
- // Setup Can driver\r
- Can_Init(ConfigPtr->CanConfig);\r
-#endif\r
-\r
-#if defined(USE_CANIF)\r
- // Setup CanIf\r
- CanIf_Init(ConfigPtr->CanIfConfig);\r
-#endif\r
-\r
-#if defined(USE_CANTP)\r
- // Setup CAN TP\r
- CanTp_Init();\r
-#endif\r
-\r
-#if defined(USE_CANSM)\r
- CanSM_Init(ConfigPtr->CanSMConfig);\r
-#endif\r
-\r
-#if defined(USE_J1939TP)\r
- // Setup J1939Tp\r
- J1939Tp_Init(ConfigPtr->J1939TpConfig);\r
-#endif\r
-\r
-\r
- // Setup LIN\r
- // TODO\r
-\r
-#if defined(USE_PDUR)\r
- // Setup PDU Router\r
- PduR_Init(ConfigPtr->PduRConfig);\r
-#endif\r
-\r
-#if defined(USE_CANNM)\r
- // Setup Can Network Manager\r
- CanNm_Init(ConfigPtr->CanNmConfig);\r
-#endif\r
-\r
-#if defined(USE_UDPNM)\r
- // Setup Udp Network Manager\r
- UdpNm_Init(ConfigPtr->UdpNmConfig);\r
-#endif\r
-\r
-#if defined(USE_NM)\r
- // Setup Network Management Interface\r
- Nm_Init(ConfigPtr->NmConfig);\r
-#endif\r
-\r
-#if defined(USE_COM)\r
- // Setup COM layer\r
- Com_Init(ConfigPtr->ComConfig);\r
-#endif\r
-\r
-#if defined(USE_DCM)\r
- // Setup DCM\r
- Dcm_Init();\r
-#endif\r
-\r
-#if defined(USE_IOHWAB)\r
- // Setup IO hardware abstraction layer\r
- IoHwAb_Init();\r
-#endif\r
-\r
-}\r
-\r
-void EcuM_AL_DriverInitThree(const EcuM_ConfigType* ConfigPtr)\r
-{\r
- (void)ConfigPtr;\r
- //lint --e{715} PC-Lint (715) - ConfigPtr usage depends on configuration of modules\r
-\r
-#if defined(USE_DEM)\r
- // Setup DEM\r
- Dem_Init();\r
-#endif\r
-\r
-#if defined(USE_COMM)\r
- // Setup Communication Manager\r
- ComM_Init(ConfigPtr->ComMConfig);\r
-#endif\r
-}\r
-\r
-void EcuM_OnEnterRUN(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnExitRun(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnExitPostRun(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnPrepShutdown(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnGoSleep(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnGoOffOne(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_OnGoOffTwo(void)\r
-{\r
-\r
-}\r
-\r
-void EcuM_AL_SwitchOff(void)\r
-{\r
-\r
-}\r
* Configured for (MCU): MPC560x\r
*\r
* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
+* Generator version: 2.1.10\r
*\r
* Generated by Arctic Studio (http://arccore.com) \r
*/\r
#define ECUM_NVRAM_WRITEALL_TIMEOUT (10000)\r
#define ECUM_NVRAM_MIN_RUN_DURATION (10000)\r
\r
+#define ECUM_VALIDATION_TIMEOUT 0\r
\r
typedef enum {\r
ECUM_USER_User_1,\r
ECUM_USER_ENDMARK // Must be the last in list!\r
} EcuM_UserList;\r
\r
+// EcuM Sleep Mode IDs\r
+#define ECUM_SLEEP_MODE_EcuMSleepMode 0\r
+#define ECUM_SLEEP_MODE_CNT 1\r
+\r
+typedef enum {\r
+ ECUM_WKSOURCE_POWER = (1<<0),\r
+ ECUM_WKSOURCE_RESET = (1<<1),\r
+ ECUM_WKSOURCE_INTERNAL_RESET = (1<<2),\r
+ ECUM_WKSOURCE_INTERNAL_WDG = (1<<3),\r
+ ECUM_WKSOURCE_EXTERNAL_WDG = (1<<4),\r
+ ECUM_WKSOURCE_ECUMWAKEUPSOURCE = (1<<5), \r
+ ECUM_WKSOURCE_ALL_SOURCES = 0x3FFFFFFF\r
+} EcuM_WakeupSourceType ;\r
\r
#endif /*ECUM_CFG_H_*/\r
\r
+++ /dev/null
-/*\r
-* Configuration of module: EcuM (EcuM_Generated_Types.h)\r
-*\r
-* Created by: \r
-* Copyright: \r
-*\r
-* Configured for (MCU): MPC560x\r
-*\r
-* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
-*\r
-* Generated by Arctic Studio (http://arccore.com) \r
-*/\r
-\r
-
-#if !(((ECUM_SW_MAJOR_VERSION == 2) && (ECUM_SW_MINOR_VERSION == 0)) )
-#error EcuM: Configuration file expected BSW module version to be 2.0.*
-#endif
-
-\r
-#ifndef _ECUM_GENERATED_TYPES_H_\r
-#define _ECUM_GENERATED_TYPES_H_\r
-\r
-#ifdef CFG_ECUM_USE_SERVICE_COMPONENT\r
-#include "Rte_EcuM.h"\r
-#endif\r
-\r
-#include "EcuM_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_COMM)\r
-#include "ComM.h"\r
-#endif\r
-#if defined(USE_NM)\r
-#include "Nm.h"\r
-#endif\r
-#if defined(USE_CANNM)\r
-#include "CanNm.h"\r
-#endif\r
-#if defined(USE_CANSM)\r
-#include "CanSM.h"\r
-#endif\r
-#if defined(USE_J1939TP)\r
-#include "J1939Tp.h"\r
-#endif\r
-#if defined(USE_UDPNM)\r
-#include "UdpNm.h"\r
-#endif\r
-#if defined(USE_LINSM)\r
-#include "LinSM.h"\r
-#endif\r
-#if defined(USE_FLS)\r
-#include "Fls.h"\r
-#endif\r
-#if defined(USE_EEP)\r
-#include "Eep.h"\r
-#endif\r
-#if defined(USE_SPI)\r
-#include "Spi.h"\r
-#endif\r
-#if defined(USE_WDG)\r
-#include "Wdg.h"\r
-#endif\r
-#if defined(USE_WDGM)\r
-#include "WdgM.h"\r
-#endif\r
-#if defined(USE_WDGIF)\r
-#include "WdgIf.h"\r
-#endif\r
-\r
-\r
-typedef struct\r
-{\r
- EcuM_StateType EcuMDefaultShutdownTarget;\r
- uint8 EcuMDefaultSleepMode;\r
- AppModeType EcuMDefaultAppMode;\r
- uint32 EcuMRunMinimumDuration;\r
- uint32 EcuMNvramReadAllTimeout;\r
- uint32 EcuMNvramWriteAllTimeout;\r
-\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_CANSM)\r
- const CanSM_ConfigType* CanSMConfig;\r
-#endif\r
-#if defined(USE_NM)\r
- const Nm_ConfigType* NmConfig;\r
-#endif\r
-#if defined(USE_CANNM)\r
- const CanNm_ConfigType* CanNmConfig;\r
-#endif\r
-#if defined(USE_UDPNM)\r
- const UdpNm_ConfigType* UdpNmConfig;\r
-#endif\r
-#if defined(USE_COMM)\r
- const ComM_ConfigType* ComMConfig;\r
-#endif\r
-#if defined(USE_COM)\r
- const Com_ConfigType* ComConfig;\r
-#endif\r
-#if defined(USE_J1939TP)\r
- const J1939Tp_ConfigType* J1939TpConfig;\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_FLS)\r
- const Fls_ConfigType* FlashConfig;\r
-#endif\r
-#if defined(USE_EEP)\r
- const Eep_ConfigType* EepConfig;\r
-#endif\r
-#if defined(USE_SPI)\r
- const Spi_ConfigType* SpiConfig;\r
-#endif\r
-#if defined(USE_WDG)\r
- const Wdg_ConfigType* WdgConfig;\r
-#endif\r
-#if defined(USE_WDGIF)\r
- const WdgIf_ConfigType* WdgIfConfig;\r
-#endif\r
-#if defined(USE_WDGM)\r
- const WdgM_ConfigType* WdgMConfig;\r
-#endif\r
-} EcuM_ConfigType;\r
-\r
-#endif /*_ECUM_GENERATED_TYPES_H_*/\r
* Configured for (MCU): MPC560x\r
*\r
* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
+* Generator version: 2.1.10\r
*\r
* Generated by Arctic Studio (http://arccore.com) \r
*/\r
\r
\r
-\r
#include "EcuM.h"\r
#include "EcuM_Generated_Types.h"\r
\r
extern const J1939Tp_ConfigType J1939Tp_Config;\r
#endif\r
\r
+#if defined(USE_WDGM)\r
+const EcuM_WdgMType EcuM_WdgMConfig = {\r
+ .EcuMSupervisedEntity = NULL,\r
+ .EcuMWdgMWakeupMode = NULL,\r
+ .EcuMWdgMStartupMode = NULL,\r
+ .EcuMWdgMRunMode = NULL,\r
+ .EcuMWdgMPostRunMode = NULL,\r
+ .EcuMWdgMShutdownMode = NULL,\r
+};\r
+#endif\r
+\r
+const EcuM_SleepModeType EcuM_SleepModeConfig[] = {\r
+ { // EcuMSleepMode \r
+ .EcuMSleepModeId = ECUM_SLEEP_MODE_EcuMSleepMode,\r
+ .EcuMWakeupSourceMask = ECUM_WKSOURCE_ECUMWAKEUPSOURCE,\r
+ .EcuMSleepModeMcuMode = MCU_MODE_MCUMODESETTINGCONF,\r
+#if defined(USE_WDGM)\r
+ .EcuMSleepModeWdgMMode = NULL,\r
+#endif\r
+ }\r
+};\r
+\r
+const EcuM_WakeupSourceConfigType EcuM_WakeupSourceConfig[] = {\r
+ { // EcuMWakeupSource \r
+ .EcuMWakeupSourceId = ECUM_WKSOURCE_ECUMWAKEUPSOURCE,\r
+ .EcuMWakeupSourcePolling = false,\r
+ .EcuMValidationTimeout = 0,\r
+#if defined(USE_COMM)\r
+ .EcuMComMChannel = NULL,\r
+#endif\r
+ }\r
+};\r
+\r
\r
EcuM_ConfigType EcuMConfig =\r
{\r
.EcuMNvramReadAllTimeout = ECUM_NVRAM_READALL_TIMEOUT,\r
.EcuMNvramWriteAllTimeout = ECUM_NVRAM_WRITEALL_TIMEOUT,\r
.EcuMRunMinimumDuration = ECUM_NVRAM_MIN_RUN_DURATION,\r
+#if defined(USE_WDGM)\r
+ .EcuMWdgMConfig = &EcuM_WdgMConfig,\r
+#endif\r
+ .EcuMSleepModeConfig = EcuM_SleepModeConfig,\r
\r
#if defined(USE_MCU)\r
- .McuConfig = McuConfigData,\r
+ .McuConfig = McuConfigData,\r
#endif\r
#if defined(USE_PORT)\r
- .PortConfig = &PortConfigData,\r
+ .PortConfig = &PortConfigData,\r
#endif\r
#if defined(USE_CAN)\r
- .CanConfig = &CanConfigData,\r
+ .CanConfig = &CanConfigData,\r
#endif\r
#if defined(USE_CANIF)\r
- .CanIfConfig = &CanIf_Config,\r
+ .CanIfConfig = &CanIf_Config,\r
#endif\r
#if defined(USE_CANSM)\r
- .CanSMConfig = &CanSM_Config,\r
+ .CanSMConfig = &CanSM_Config,\r
#endif\r
#if defined(USE_CANNM)\r
- .CanNmConfig = &CanNm_Config,\r
+ .CanNmConfig = &CanNm_Config,\r
#endif\r
#if defined(USE_UDPNM)\r
- .UdpNmConfig = &UdpNm_Config,\r
+ .UdpNmConfig = &UdpNm_Config,\r
#endif\r
#if defined(USE_COM)\r
- .ComConfig = &ComConfiguration,\r
+ .ComConfig = &ComConfiguration,\r
#endif\r
#if defined(USE_COMM)\r
- .ComMConfig = &ComM_Config,\r
+ .ComMConfig = &ComM_Config,\r
#endif\r
#if defined(USE_J1939TP)\r
- .J1939TpConfig = &J1939Tp_Config,\r
+ .J1939TpConfig = &J1939Tp_Config,\r
#endif\r
#if defined(USE_NM)\r
- .NmConfig = &Nm_Config,\r
+ .NmConfig = &Nm_Config,\r
#endif\r
#if defined(USE_PDUR)\r
- .PduRConfig = &PduR_Config,\r
+ .PduRConfig = &PduR_Config,\r
#endif\r
#if defined(USE_J1939TP)\r
- .J1939TpConfig = &J1939Tp_Config,\r
+ .J1939TpConfig = &J1939Tp_Config,\r
#endif\r
#if defined(USE_DMA)\r
- .DmaConfig = DmaConfig,\r
+ .DmaConfig = DmaConfig,\r
#endif\r
#if defined(USE_ADC)\r
- .AdcConfig = AdcConfig,\r
+ .AdcConfig = AdcConfig,\r
#endif\r
#if defined(USE_PWM)\r
- .PwmConfig = &PwmConfig,\r
+ .PwmConfig = &PwmConfig,\r
#endif\r
#if defined(USE_WDG)\r
.WdgConfig = &WdgConfig,\r
.WdgIfConfig = &WdgIfConfig,\r
#endif\r
#if defined(USE_GPT)\r
- .GptConfig = GptConfigData,\r
+ .GptConfig = GptConfigData,\r
#endif\r
#if defined(USE_FLS)\r
.FlashConfig = FlsConfigSet,\r
* Configured for (MCU): MPC560x\r
*\r
* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
+* Generator version: 2.0.3\r
*\r
* Generated by Arctic Studio (http://arccore.com) \r
*/\r
* Configured for (MCU): MPC560x\r
*\r
* Module vendor: ArcCore\r
-* Generator version: 2.0.2\r
+* Generator version: 2.0.3\r
*\r
* Generated by Arctic Studio (http://arccore.com) \r
*/\r
#define MCU_PERFORM_RESET_API STD_ON\r
#define MCU_VERSION_INFO_API STD_ON\r
\r
+\r
+typedef enum {\r
+ MCU_MODE_MCUMODESETTINGCONF = 0,\r
+ MCU_MODE_NORMAL = 1 // Here for backwards compatibility reasons. Not used anymore.\r
+} Mcu_ModeType;\r
+\r
+\r
typedef enum {\r
MCU_CLOCKTYPE_Clock = 0,\r
MCU_NBR_OF_CLOCKS,\r
<SHORT-NAME>User_1</SHORT-NAME>\r
<DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMUserConfig</DEFINITION-REF>\r
</CONTAINER>\r
+ <CONTAINER UUID="1b4273d3-c3b3-4453-ac80-217359bd9040">\r
+ <SHORT-NAME>EcuMDefaultShutdownTarget</SHORT-NAME>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMDefaultShutdownTarget</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <ENUMERATION-VALUE>\r
+ <DEFINITION-REF DEST="ENUMERATION-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMDefaultShutdownTarget/EcuMDefaultState</DEFINITION-REF>\r
+ <VALUE>EcuMStateReset</VALUE>\r
+ </ENUMERATION-VALUE>\r
+ </PARAMETER-VALUES>\r
+ <REFERENCE-VALUES>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="SYMBOLIC-NAME-REFERENCE-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMDefaultShutdownTarget/EcuMDefaultSleepModeRef</DEFINITION-REF>\r
+ </REFERENCE-VALUE>\r
+ </REFERENCE-VALUES>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="0cee491c-d5c5-4fba-9457-aaab7e7f6bdc">\r
+ <SHORT-NAME>EcuMSleepMode</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode/EcuMSleepModeId</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode/EcuMSleepModeSuspend</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ </PARAMETER-VALUES>\r
+ <REFERENCE-VALUES>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="SYMBOLIC-NAME-REFERENCE-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode/EcuMSleepModeMcuModeRef</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606s_xpc560s/Mcu/McuModuleConfiguration/McuModeSettingConf</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ <REFERENCE-VALUE>\r
+ <DEFINITION-REF DEST="SYMBOLIC-NAME-REFERENCE-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMSleepMode/EcuMWakeupSourceMask</DEFINITION-REF>\r
+ <VALUE-REF DEST="CONTAINER">/os_simple_mpc5606s_xpc560s/EcuM/EcuMConfiguration/EcuMWakeupSource</VALUE-REF>\r
+ </REFERENCE-VALUE>\r
+ </REFERENCE-VALUES>\r
+ </CONTAINER>\r
+ <CONTAINER UUID="fa7fce0c-4714-4717-8bb2-a27a7a28fedb">\r
+ <SHORT-NAME>EcuMWakeupSource</SHORT-NAME>\r
+ <ADMIN-DATA>\r
+ <SDGS>\r
+ <SDG GID="Arccore::IdentifiableOptions" />\r
+ </SDGS>\r
+ </ADMIN-DATA>\r
+ <DEFINITION-REF DEST="PARAM-CONF-CONTAINER-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource</DEFINITION-REF>\r
+ <PARAMETER-VALUES>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource/EcuMResetReason</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ <FLOAT-VALUE>\r
+ <DEFINITION-REF DEST="FLOAT-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource/EcuMValidationTimeout</DEFINITION-REF>\r
+ <VALUE>0.0</VALUE>\r
+ </FLOAT-VALUE>\r
+ <INTEGER-VALUE>\r
+ <DEFINITION-REF DEST="INTEGER-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource/EcuMWakeupSourceId</DEFINITION-REF>\r
+ <VALUE>0</VALUE>\r
+ </INTEGER-VALUE>\r
+ <BOOLEAN-VALUE>\r
+ <DEFINITION-REF DEST="BOOLEAN-PARAM-DEF">/ArcCore/EcuM/EcuMConfiguration/EcuMWakeupSource/EcuMWakeupSourcePolling</DEFINITION-REF>\r
+ <VALUE>false</VALUE>\r
+ </BOOLEAN-VALUE>\r
+ </PARAMETER-VALUES>\r
+ </CONTAINER>\r
</SUB-CONTAINERS>\r
</CONTAINER>\r
</CONTAINERS>\r