]> rtime.felk.cvut.cz Git - arc.git/blobdiff - boards/generic/EcuM_Generated_Types.h
EcuM/Mcu integration fixes
[arc.git] / boards / generic / EcuM_Generated_Types.h
index 9f8156e2600b7aa970b1501dc6aa17df1ecf1185..b9e0417ffa90e59776687fe24c3e5e21c6257557 100644 (file)
@@ -16,7 +16,7 @@
 
 #warning "This default file may only be used as an example!"
 
-#if (ECUM_SW_MAJOR_VERSION != 2 && ECUM_SW_MINOR_VERSION != 0)
+#if ((ECUM_SW_MAJOR_VERSION != 2) && (ECUM_SW_MINOR_VERSION != 0))
 #error "EcuM: Configuration file version differs from BSW version."
 #endif
 
 #if defined(USE_GPT)
 #include "Gpt.h"
 #endif
+#if defined(USE_FLS)
+#include "Fls.h"
+#endif
+#if defined(USE_EEP)
+#include "Eep.h"
+#endif
+#if defined(USE_WDG)
+#include "Wdg.h"
+#endif
+#if defined(USE_WDGM)
+#include "WdgM.h"
+#endif
+#if defined(USE_WDGIF)
+#include "WdgIf.h"
+#endif
 #if defined(USE_COMM)
 #include "ComM.h"
 #endif
 #include "LinSM.h"
 #endif\r
 \r
-typedef struct\r
+typedef struct EcuM_Config\r
 {\r
        EcuM_StateType EcuMDefaultShutdownTarget;\r
-       uint8 EcuMDefaultShutdownMode;\r
+       uint8 EcuMDefaultSleepMode;\r
        AppModeType EcuMDefaultAppMode;\r
        uint32 EcuMRunMinimumDuration;
        uint32 EcuMNvramReadAllTimeout;
@@ -118,12 +133,27 @@ typedef struct
 #if defined(USE_ADC)
     const Adc_ConfigType* AdcConfig;
 #endif
+#if defined(USE_WDG)
+    const Wdg_ConfigType* WdgConfig;
+#endif
+#if defined(USE_WDGIF)
+    const WdgIf_ConfigType* WdgIfConfig;
+#endif
+#if defined(USE_WDGM)
+    const WdgM_ConfigType* WdgMConfig;
+#endif
 #if defined(USE_GPT)
     const Gpt_ConfigType* GptConfig;
 #endif
 #if defined(USE_FLS)
        const Fls_ConfigType* FlashConfig;
 #endif
+#if defined(USE_EEP)
+       const Eep_ConfigType* EepConfig;
+#endif
+#if defined(USE_SPI)
+       const Spi_ConfigType* SpiConfig;
+#endif
 } EcuM_ConfigType;\r
 \r
 #endif /*_ECUM_GENERATED_TYPES_H_*/\r