]> rtime.felk.cvut.cz Git - arc.git/blob - boards/mpc5567qrtech/examples/os_simple/config/EcuM_Generated_Types.h
mpc5668, updated example.
[arc.git] / boards / mpc5567qrtech / examples / os_simple / config / EcuM_Generated_Types.h
1 /*\r
2 * Configuration of module: EcuM (EcuM_Generated_Types.h)\r
3 *\r
4 * Created by:              \r
5 * Copyright:               \r
6 *\r
7 * Configured for (MCU):    MPC5567\r
8 *\r
9 * Module vendor:           ArcCore\r
10 * Generator version:       2.0.2\r
11 *\r
12 * Generated by Arctic Studio (http://arccore.com) \r
13 */\r
14 \r
15
16 #if !(((ECUM_SW_MAJOR_VERSION == 2) && (ECUM_SW_MINOR_VERSION == 0)) )
17 #error EcuM: Configuration file expected BSW module version to be 2.0.*
18 #endif
19
20 \r
21 #ifndef _ECUM_GENERATED_TYPES_H_\r
22 #define _ECUM_GENERATED_TYPES_H_\r
23 \r
24 #ifdef CFG_ECUM_USE_SERVICE_COMPONENT\r
25 #include "Rte_EcuM.h"\r
26 #endif\r
27 \r
28 #include "EcuM_Types.h"\r
29 \r
30 #if defined(USE_MCU)\r
31 #include "Mcu.h"\r
32 #endif\r
33 #if defined(USE_PORT)\r
34 #include "Port.h"\r
35 #endif\r
36 #if defined(USE_CAN)\r
37 #include "Can.h"\r
38 #endif\r
39 #if defined(USE_CANIF)\r
40 #include "CanIf.h"\r
41 #endif\r
42 #if defined(USE_PWM)\r
43 #include "Pwm.h"\r
44 #endif\r
45 #if defined(USE_COM)\r
46 #include "Com.h"\r
47 #endif\r
48 #if defined(USE_PDUR)\r
49 #include "PduR.h"\r
50 #endif\r
51 #if defined(USE_DMA)\r
52 #include "Dma.h"\r
53 #endif\r
54 #if defined(USE_ADC)\r
55 #include "Adc.h"\r
56 #endif\r
57 #if defined(USE_GPT)\r
58 #include "Gpt.h"\r
59 #endif\r
60 #if defined(USE_COMM)\r
61 #include "ComM.h"\r
62 #endif\r
63 #if defined(USE_NM)\r
64 #include "Nm.h"\r
65 #endif\r
66 #if defined(USE_CANNM)\r
67 #include "CanNm.h"\r
68 #endif\r
69 #if defined(USE_CANSM)\r
70 #include "CanSM.h"\r
71 #endif\r
72 #if defined(USE_J1939TP)\r
73 #include "J1939Tp.h"\r
74 #endif\r
75 #if defined(USE_UDPNM)\r
76 #include "UdpNm.h"\r
77 #endif\r
78 #if defined(USE_LINSM)\r
79 #include "LinSM.h"\r
80 #endif\r
81 #if defined(USE_FLS)\r
82 #include "Fls.h"\r
83 #endif\r
84 #if defined(USE_EEP)\r
85 #include "Eep.h"\r
86 #endif\r
87 #if defined(USE_SPI)\r
88 #include "Spi.h"\r
89 #endif\r
90 #if defined(USE_WDG)\r
91 #include "Wdg.h"\r
92 #endif\r
93 #if defined(USE_WDGM)\r
94 #include "WdgM.h"\r
95 #endif\r
96 #if defined(USE_WDGIF)\r
97 #include "WdgIf.h"\r
98 #endif\r
99 \r
100 \r
101 typedef struct\r
102 {\r
103         EcuM_StateType EcuMDefaultShutdownTarget;\r
104         uint8 EcuMDefaultSleepMode;\r
105         AppModeType EcuMDefaultAppMode;\r
106         uint32 EcuMRunMinimumDuration;\r
107         uint32 EcuMNvramReadAllTimeout;\r
108         uint32 EcuMNvramWriteAllTimeout;\r
109 \r
110 #if defined(USE_MCU)\r
111         const Mcu_ConfigType* McuConfig;\r
112 #endif\r
113 #if defined(USE_PORT)\r
114         const Port_ConfigType* PortConfig;\r
115 #endif\r
116 #if defined(USE_CAN)\r
117         const Can_ConfigType* CanConfig;\r
118 #endif\r
119 #if defined(USE_CANIF)\r
120         const CanIf_ConfigType* CanIfConfig;\r
121 #endif\r
122 #if defined(USE_CANSM)\r
123         const CanSM_ConfigType* CanSMConfig;\r
124 #endif\r
125 #if defined(USE_NM)\r
126         const Nm_ConfigType* NmConfig;\r
127 #endif\r
128 #if defined(USE_CANNM)\r
129         const CanNm_ConfigType* CanNmConfig;\r
130 #endif\r
131 #if defined(USE_UDPNM)\r
132         const UdpNm_ConfigType* UdpNmConfig;\r
133 #endif\r
134 #if defined(USE_COMM)\r
135         const ComM_ConfigType* ComMConfig;\r
136 #endif\r
137 #if defined(USE_COM)\r
138         const Com_ConfigType* ComConfig;\r
139 #endif\r
140 #if defined(USE_J1939TP)\r
141         const J1939Tp_ConfigType* J1939TpConfig;\r
142 #endif\r
143 #if defined(USE_PDUR)\r
144         const PduR_PBConfigType* PduRConfig;\r
145 #endif\r
146 #if defined(USE_PWM)\r
147         const Pwm_ConfigType* PwmConfig;\r
148 #endif\r
149 #if defined(USE_DMA)\r
150         const Dma_ConfigType* DmaConfig;\r
151 #endif\r
152 #if defined(USE_ADC)\r
153     const Adc_ConfigType* AdcConfig;\r
154 #endif\r
155 #if defined(USE_GPT)\r
156     const Gpt_ConfigType* GptConfig;\r
157 #endif\r
158 #if defined(USE_FLS)\r
159         const Fls_ConfigType* FlashConfig;\r
160 #endif\r
161 #if defined(USE_EEP)\r
162         const Eep_ConfigType* EepConfig;\r
163 #endif\r
164 #if defined(USE_SPI)\r
165         const Spi_ConfigType* SpiConfig;\r
166 #endif\r
167 #if defined(USE_WDG)\r
168     const Wdg_ConfigType* WdgConfig;\r
169 #endif\r
170 #if defined(USE_WDGIF)\r
171     const WdgIf_ConfigType* WdgIfConfig;\r
172 #endif\r
173 #if defined(USE_WDGM)\r
174     const WdgM_ConfigType* WdgMConfig;\r
175 #endif\r
176 } EcuM_ConfigType;\r
177 \r
178 #endif /*_ECUM_GENERATED_TYPES_H_*/\r