]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/ColdFire_MCF52221_CodeWarrior/sources/MCF52221_sysinit.h
***IMMINENT RELEASE NOTICE***
[freertos] / FreeRTOS / Demo / ColdFire_MCF52221_CodeWarrior / sources / MCF52221_sysinit.h
1 /*\r
2  * File:                mcf52221demo_sysinit.h\r
3  * Purpose:             Power-on Reset configuration of the MCF52221.\r
4  *\r
5  * Notes:\r
6  *\r
7  */\r
8 \r
9 #ifndef __MCF52221DEMO_SYSINIT_H__\r
10 #define __MCF52221DEMO_SYSINIT_H__\r
11 \r
12 #ifdef __cplusplus\r
13 extern "C" {\r
14 #endif\r
15 \r
16 \r
17 \r
18 #if ENABLE_UART_SUPPORT==1 \r
19 \r
20 #define TERMINAL_PORT       0\r
21 #define TERMINAL_BAUD       kBaud19200\r
22 \r
23 #endif  /* ENABLE_UART_SUPPORT==1 */\r
24 \r
25 #define SYSTEM_CLOCK_KHZ  80000     /* system bus frequency in kHz */\r
26 \r
27 \r
28 /********************************************************************/\r
29 /* __initialize_hardware Startup code routine\r
30  * \r
31  * __initialize_hardware is called by the startup code right after reset, \r
32  * with interrupt disabled and SP pre-set to a valid memory area.\r
33  * Here you should initialize memory and some peripherics;\r
34  * at this point global variables are not initialized yet.\r
35  * The startup code will initialize SP on return of this function.\r
36  */\r
37 void __initialize_hardware(void);\r
38 \r
39 /********************************************************************/\r
40 /* __initialize_system Startup code routine\r
41  * \r
42  * __initialize_system is called by the startup code when all languages \r
43  * specific initialization are done to allow additional hardware setup.\r
44  */ \r
45 void __initialize_system(void);\r
46 \r
47 \r
48 \r
49 #ifdef __cplusplus\r
50 }\r
51 #endif\r
52 \r
53 #endif /* __MCF52221DEMO_SYSINIT_H__ */\r
54 \r
55 \r