]> rtime.felk.cvut.cz Git - arc.git/blob - boards/mpc5668_gkit/examples/os_simple/config/Mcu_Cfg.h
mpc5668, updated example.
[arc.git] / boards / mpc5668_gkit / 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):    MPC5668\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 "mpc55xx.h"\r
25 \r
26 \r
27 #define MCU_DEV_ERROR_DETECT    STD_OFF \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_112MHZ = 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