]> rtime.felk.cvut.cz Git - arc.git/blob - boards/mpc5606s/config/Mcu_Cfg.h
353445807e2b577a6915461bd8a63dbf05eab12e
[arc.git] / boards / mpc5606s / config / Mcu_Cfg.h
1 /* -------------------------------- Arctic Core ------------------------------\r
2  * Arctic Core - the open source AUTOSAR platform http://arccore.com\r
3  *\r
4  * Copyright (C) 2009  ArcCore AB <contact@arccore.com>\r
5  *\r
6  * This source code is free software; you can redistribute it and/or modify it\r
7  * under the terms of the GNU General Public License version 2 as published by the\r
8  * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.\r
9  *\r
10  * This program is distributed in the hope that it will be useful, but\r
11  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
12  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\r
13  * for more details.\r
14  * -------------------------------- Arctic Core ------------------------------*/\r
15 \r
16 /** @addtogroup Mcu MCU Driver\r
17  *  @{ */\r
18 \r
19 /** @file Mcu_Cfg.h\r
20  *  Definitions of configuration parameters for MCU Driver.\r
21  */\r
22 \r
23 #warning "This default file may only be used as an example!"\r
24 \r
25 #ifndef MCU_CFG_H_\r
26 #define MCU_CFG_H_\r
27 \r
28 #include "mpc55xx.h"\r
29 \r
30 /** Enable Development Error Trace */\r
31 #define MCU_DEV_ERROR_DETECT    STD_ON\r
32 /** Enable/disable the use of the function Mcu_PerformReset() */\r
33 #define MCU_PERFORM_RESET_API   STD_ON\r
34 /** Build version info API */\r
35 #define MCU_VERSION_INFO_API    STD_ON\r
36 \r
37 #include "Std_Types.h"\r
38 \r
39 \r
40 /** Symbolic names for clock settings */\r
41 typedef enum\r
42 {\r
43         MCU_CLOCKTYPE_EXT_REF_8MHZ = 0,\r
44         MCU_CLOCKTYPE_EXT_REF_16MHZ,\r
45         MCU_NBR_OF_CLOCKS,\r
46 } Mcu_ClockType;\r
47 \r
48 \r
49 #define MCU_DEFAULT_CONFIG McuConfigData[0]\r
50 \r
51 #endif /*MCU_CFG_H_*/\r
52 /** @} */\r