2 * File: mcf52221demo_sysinit.h
3 * Purpose: Power-on Reset configuration of the MCF52221.
9 #ifndef __MCF52221DEMO_SYSINIT_H__
10 #define __MCF52221DEMO_SYSINIT_H__
18 #if ENABLE_UART_SUPPORT==1
20 #define TERMINAL_PORT 0
21 #define TERMINAL_BAUD kBaud19200
23 #endif /* ENABLE_UART_SUPPORT==1 */
25 #define SYSTEM_CLOCK_KHZ 80000 /* system bus frequency in kHz */
28 /********************************************************************/
29 /* __initialize_hardware Startup code routine
31 * __initialize_hardware is called by the startup code right after reset,
32 * with interrupt disabled and SP pre-set to a valid memory area.
33 * Here you should initialize memory and some peripherics;
34 * at this point global variables are not initialized yet.
35 * The startup code will initialize SP on return of this function.
37 void __initialize_hardware(void);
39 /********************************************************************/
40 /* __initialize_system Startup code routine
42 * __initialize_system is called by the startup code when all languages
43 * specific initialization are done to allow additional hardware setup.
45 void __initialize_system(void);
53 #endif /* __MCF52221DEMO_SYSINIT_H__ */