]> 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 2005a47903164e075e2d7299fef4922c2245c8aa..b9e0417ffa90e59776687fe24c3e5e21c6257557 100644 (file)
@@ -66,6 +66,9 @@
 #if defined(USE_WDGM)
 #include "WdgM.h"
 #endif
+#if defined(USE_WDGIF)
+#include "WdgIf.h"
+#endif
 #if defined(USE_COMM)
 #include "ComM.h"
 #endif
@@ -82,7 +85,7 @@
 #include "LinSM.h"
 #endif\r
 \r
-typedef struct\r
+typedef struct EcuM_Config\r
 {\r
        EcuM_StateType EcuMDefaultShutdownTarget;\r
        uint8 EcuMDefaultSleepMode;\r
@@ -131,7 +134,10 @@ typedef struct
     const Adc_ConfigType* AdcConfig;
 #endif
 #if defined(USE_WDG)
-    //const Wdg_ConfigType* WdgConfig; /* WDG is not AUTOSAR compliant for ArctiCore */
+    const Wdg_ConfigType* WdgConfig;
+#endif
+#if defined(USE_WDGIF)
+    const WdgIf_ConfigType* WdgIfConfig;
 #endif
 #if defined(USE_WDGM)
     const WdgM_ConfigType* WdgMConfig;
@@ -145,6 +151,9 @@ typedef struct
 #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