* 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