]> rtime.felk.cvut.cz Git - arc.git/blob - boards/mpc5516it/examples/led_rte/config/Mcu_Cfg.h
mpc5516, updated examples.
[arc.git] / boards / mpc5516it / examples / led_rte / 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):    MPC551x\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 \r
25 #define MCU_DEV_ERROR_DETECT    STD_ON \r
26 #define MCU_PERFORM_RESET_API   STD_ON\r
27 #define MCU_VERSION_INFO_API    STD_ON\r
28 \r
29 \r
30 typedef enum {\r
31         MCU_MODE_RUN = 0,\r
32         MCU_MODE_SLEEP = 1,\r
33         MCU_MODE_NORMAL = 2 // Here for backwards compatibility reasons. Not used anymore.\r
34 } Mcu_ModeType;\r
35 \r
36 \r
37 typedef enum {\r
38         MCU_CLOCKTYPE_EXT_REF_80MHZ = 0,\r
39         MCU_CLOCKTYPE_EXT_REF_66MHZ = 1,\r
40   MCU_NBR_OF_CLOCKS,\r
41 } Mcu_ClockType;\r
42 \r
43 \r
44 #define MCU_NBR_OF_RAM_SECTIONS 0\r
45 \r
46 \r
47 #define MCU_DEFAULT_CONFIG McuConfigData[0]\r
48 \r
49 #endif /*MCU_CFG_H_*/\r