]> rtime.felk.cvut.cz Git - arc.git/blob - boards/stm32_stm3210c/examples/os_simple/config/Mcu_Cfg.h
stm3210c, updated examples.
[arc.git] / boards / stm32_stm3210c / examples / os_simple / config / Mcu_Cfg.h
1 /*\r
2 * Configuration of module: Mcu (Mcu_Cfg.h)\r
3 *\r
4 * Created by:              \r
5 * Copyright:               \r
6 *\r
7 * Configured for (MCU):    STM32_F107\r
8 *\r
9 * Module vendor:           ArcCore\r
10 * Generator version:       2.0.3\r
11 *\r
12 * Generated by Arctic Studio (http://arccore.com) \r
13 */\r
14 \r
15
16 #if !(((MCU_SW_MAJOR_VERSION == 2) && (MCU_SW_MINOR_VERSION == 0)) )
17 #error Mcu: Configuration file expected BSW module version to be 2.0.*
18 #endif
19
20 \r
21 #ifndef MCU_CFG_H_\r
22 #define MCU_CFG_H_\r
23 \r
24 #include "Std_Types.h"\r
25 #include "Mcu_ConfigTypes.h"\r
26 \r
27 #define MCU_DEV_ERROR_DETECT    STD_ON \r
28 #define MCU_PERFORM_RESET_API   STD_ON\r
29 #define MCU_VERSION_INFO_API    STD_ON\r
30 \r
31 \r
32 typedef enum {\r
33         MCU_MODE_RUN = 0,\r
34         MCU_MODE_SLEEP = 1,\r
35         MCU_MODE_NORMAL = 2 // Here for backwards compatibility reasons. Not used anymore.\r
36 } Mcu_ModeType;\r
37 \r
38 \r
39 typedef enum {\r
40         MCU_CLOCKTYPE_EXT_REF_25MHZ = 0,\r
41   MCU_NBR_OF_CLOCKS,\r
42 } Mcu_ClockType;\r
43 \r
44 \r
45 #define MCU_NBR_OF_RAM_SECTIONS 0\r
46 \r
47 \r
48 #define MCU_DEFAULT_CONFIG McuConfigData[0]\r
49 \r
50 #endif /*MCU_CFG_H_*/\r