OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ColdFire_MCF52221_CodeWarrior/] [sources/] [MCF52221_sysinit.h] - Blame information for rev 609

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 jeremybenn
/*
2
 * File:                mcf52221demo_sysinit.h
3
 * Purpose:             Power-on Reset configuration of the MCF52221.
4
 *
5
 * Notes:
6
 *
7
 */
8
 
9
#ifndef __MCF52221DEMO_SYSINIT_H__
10
#define __MCF52221DEMO_SYSINIT_H__
11
 
12
#ifdef __cplusplus
13
extern "C" {
14
#endif
15
 
16
 
17
 
18
#if ENABLE_UART_SUPPORT==1 
19
 
20
#define TERMINAL_PORT       0
21
#define TERMINAL_BAUD       kBaud19200
22
 
23
#endif  /* ENABLE_UART_SUPPORT==1 */
24
 
25
#define SYSTEM_CLOCK_KHZ  80000     /* system bus frequency in kHz */
26
 
27
 
28
/********************************************************************/
29
/* __initialize_hardware Startup code routine
30
 *
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.
36
 */
37
void __initialize_hardware(void);
38
 
39
/********************************************************************/
40
/* __initialize_system Startup code routine
41
 *
42
 * __initialize_system is called by the startup code when all languages
43
 * specific initialization are done to allow additional hardware setup.
44
 */
45
void __initialize_system(void);
46
 
47
 
48
 
49
#ifdef __cplusplus
50
}
51
#endif
52
 
53
#endif /* __MCF52221DEMO_SYSINIT_H__ */
54
 
55
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.