]> rtime.felk.cvut.cz Git - arc.git/blob - boards/generic/EcuM_Generated_Types.h
Cleanup of EcuM files (merged).
[arc.git] / boards / generic / EcuM_Generated_Types.h
1 /* 
2 * Configuration of module EcuM (EcuM_Generated_Types.h)
3
4 * Created by: 
5 * Configured for (MCU):
6
7 * Module editor vendor:  ArcCore
8 * Module editor version: 2.0.0
9
10
11 * Generated by Arctic Studio (http://arccore.com)
12 *           on Tue May 25 11:41:52 CEST 2010
13 */
14
15
16 #warning "This default file may only be used as an example!"
17
18 #if (ECUM_SW_MAJOR_VERSION != 1) 
19 #error "EcuM: Configuration file version differs from BSW version."
20 #endif
21
22 \r
23 #ifndef _ECUM_GENERATED_TYPES_H_\r
24 #define _ECUM_GENERATED_TYPES_H_\r
25 \r
26 #if defined(USE_MCU)\r
27 #include "Mcu.h"\r
28 #endif\r
29 #if defined(USE_PORT)\r
30 #include "Port.h"\r
31 #endif\r
32 #if defined(USE_CAN)\r
33 #include "Can.h"\r
34 #endif\r
35 #if defined(USE_CANIF)\r
36 #include "CanIf.h"\r
37 #endif\r
38 #if defined(USE_PWM)\r
39 #include "Pwm.h"\r
40 #endif\r
41 #if defined(USE_COM)\r
42 #include "Com.h"\r
43 #endif\r
44 #if defined(USE_PDUR)\r
45 #include "PduR.h"\r
46 #endif\r
47 #if defined(USE_DMA)\r
48 #include "Dma.h"\r
49 #endif\r
50 #if defined(USE_ADC)\r
51 #include "Adc.h"\r
52 #endif\r
53 #if defined(USE_GPT)\r
54 #include "Gpt.h"\r
55 #endif\r
56 #if defined(USE_FLS)
57 #include "Fls.h"
58 #endif
59 \r
60 \r
61 typedef struct\r
62 {\r
63         EcuM_StateType EcuMDefaultShutdownTarget;\r
64         uint8 EcuMDefaultShutdownMode;\r
65         AppModeType EcuMDefaultAppMode;\r
66         uint32 EcuMRunMinimumDuration;
67         uint32 EcuMNvramReadAllTimeout;
68         uint32 EcuMNvramWriteAllTimeout;
69 \r
70 #if defined(USE_MCU)\r
71         const Mcu_ConfigType* McuConfig;\r
72 #endif\r
73 #if defined(USE_PORT)\r
74         const Port_ConfigType* PortConfig;\r
75 #endif\r
76 #if defined(USE_CAN)\r
77         const Can_ConfigType* CanConfig;\r
78 #endif\r
79 #if defined(USE_CANIF)\r
80         const CanIf_ConfigType* CanIfConfig;\r
81 #endif\r
82 #if defined(USE_COM)\r
83         const Com_ConfigType* ComConfig;\r
84 #endif\r
85 #if defined(USE_PDUR)\r
86         const PduR_PBConfigType* PduRConfig;\r
87 #endif\r
88 #if defined(USE_PWM)\r
89         const Pwm_ConfigType* PwmConfig;\r
90 #endif\r
91 #if defined(USE_DMA)\r
92         const Dma_ConfigType* DmaConfig;\r
93 #endif\r
94 #if defined(USE_ADC)\r
95     const Adc_ConfigType* AdcConfig;\r
96 #endif\r
97 #if defined(USE_GPT)\r
98     const Gpt_ConfigType* GptConfig;\r
99 #endif\r
100 #if defined(USE_FLS)
101         const Fls_ConfigType* FlashConfig;
102 #endif
103 } EcuM_ConfigType;\r
104 \r
105 #endif /*_ECUM_GENERATED_TYPES_H_*/\r