2 * File: mcf52221demo_sysinit.h
\r
3 * Purpose: Power-on Reset configuration of the MCF52221.
\r
9 #ifndef __MCF52221DEMO_SYSINIT_H__
\r
10 #define __MCF52221DEMO_SYSINIT_H__
\r
18 #if ENABLE_UART_SUPPORT==1
\r
20 #define TERMINAL_PORT 0
\r
21 #define TERMINAL_BAUD kBaud19200
\r
23 #endif /* ENABLE_UART_SUPPORT==1 */
\r
25 #define SYSTEM_CLOCK_KHZ 80000 /* system bus frequency in kHz */
\r
28 /********************************************************************/
\r
29 /* __initialize_hardware Startup code routine
\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
37 void __initialize_hardware(void);
\r
39 /********************************************************************/
\r
40 /* __initialize_system Startup code routine
\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
45 void __initialize_system(void);
\r
53 #endif /* __MCF52221DEMO_SYSINIT_H__ */
\r