2 * Configuration of module: EcuM (EcuM_PBcfg.c)
\r
7 * Configured for (MCU): MPC551x
\r
9 * Module vendor: ArcCore
\r
10 * Generator version: 2.0.2
\r
12 * Generated by Arctic Studio (http://arccore.com)
\r
18 #include "EcuM_Generated_Types.h"
\r
20 #if defined(USE_CANSM)
\r
21 extern const CanSM_ConfigType CanSM_Config;
\r
24 extern const Nm_ConfigType Nm_Config;
\r
26 #if defined(USE_CANNM)
\r
27 extern const CanNm_ConfigType CanNm_Config;
\r
29 #if defined(USE_UDPNM)
\r
30 extern const UdpNm_ConfigType UdpNm_Config;
\r
32 #if defined(USE_COMM)
\r
33 extern const ComM_ConfigType ComM_Config;
\r
36 #if defined(USE_J1939TP)
\r
37 extern const J1939Tp_ConfigType J1939Tp_Config;
\r
41 EcuM_ConfigType EcuMConfig =
\r
43 .EcuMDefaultShutdownTarget = ECUM_STATE_RESET,
\r
44 .EcuMDefaultSleepMode = 0, // Don't care
\r
45 .EcuMDefaultAppMode = OSDEFAULTAPPMODE,
\r
46 .EcuMNvramReadAllTimeout = ECUM_NVRAM_READALL_TIMEOUT,
\r
47 .EcuMNvramWriteAllTimeout = ECUM_NVRAM_WRITEALL_TIMEOUT,
\r
48 .EcuMRunMinimumDuration = ECUM_NVRAM_MIN_RUN_DURATION,
\r
50 #if defined(USE_MCU)
\r
51 .McuConfig = McuConfigData,
\r
53 #if defined(USE_PORT)
\r
54 .PortConfig = &PortConfigData,
\r
56 #if defined(USE_CAN)
\r
57 .CanConfig = &CanConfigData,
\r
59 #if defined(USE_CANIF)
\r
60 .CanIfConfig = &CanIf_Config,
\r
62 #if defined(USE_CANSM)
\r
63 .CanSMConfig = &CanSM_Config,
\r
65 #if defined(USE_CANNM)
\r
66 .CanNmConfig = &CanNm_Config,
\r
68 #if defined(USE_UDPNM)
\r
69 .UdpNmConfig = &UdpNm_Config,
\r
71 #if defined(USE_COM)
\r
72 .ComConfig = &ComConfiguration,
\r
74 #if defined(USE_COMM)
\r
75 .ComMConfig = &ComM_Config,
\r
77 #if defined(USE_J1939TP)
\r
78 .J1939TpConfig = &J1939Tp_Config,
\r
81 .NmConfig = &Nm_Config,
\r
83 #if defined(USE_PDUR)
\r
84 .PduRConfig = &PduR_Config,
\r
86 #if defined(USE_J1939TP)
\r
87 .J1939TpConfig = &J1939Tp_Config,
\r
89 #if defined(USE_DMA)
\r
90 .DmaConfig = DmaConfig,
\r
92 #if defined(USE_ADC)
\r
93 .AdcConfig = AdcConfig,
\r
95 #if defined(USE_PWM)
\r
96 .PwmConfig = &PwmConfig,
\r
98 #if defined(USE_WDG)
\r
99 .WdgConfig = &WdgConfig,
\r
101 #if defined(USE_WDGM)
\r
102 .WdgMConfig = &WdgMConfig,
\r
104 #if defined(USE_WDGIF)
\r
105 .WdgIfConfig = &WdgIfConfig,
\r
107 #if defined(USE_GPT)
\r
108 .GptConfig = GptConfigData,
\r
110 #if defined(USE_FLS)
\r
111 .FlashConfig = FlsConfigSet,
\r
113 #if defined(USE_EEP)
\r
114 .EepConfig = EepConfigData,
\r
116 #if defined(USE_SPI)
\r
117 .SpiConfig = &SpiConfigData,
\r