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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ColdFire_MCF52233_Eclipse/] [RTOSDemo/] [MCF5223x/] [MCF52235.h] - Blame information for rev 578

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 jeremybenn
/* Coldfire C Header File
2
 * Copyright Freescale Semiconductor Inc
3
 * All rights reserved.
4
 *
5
 * 2007/03/19 Revision: 0.91
6
 */
7
 
8
#ifndef __MCF52235_H__
9
#define __MCF52235_H__
10
 
11
//#include "common.h"
12
 
13
#ifdef __cplusplus
14
extern "C" {
15
#endif
16
 
17
typedef unsigned char           uint8;   /*  8 bits */
18
typedef unsigned short int      uint16;  /* 16 bits */
19
typedef unsigned long int       uint32;  /* 32 bits */
20
 
21
typedef signed char             int8;    /*  8 bits */
22
typedef signed short int        int16;   /* 16 bits */
23
typedef signed long int         int32;   /* 32 bits */
24
 
25
typedef volatile uint8          vuint8;  /*  8 bits */
26
typedef volatile uint16         vuint16; /* 16 bits */
27
typedef volatile uint32         vuint32; /* 32 bits */
28
 
29
#ifdef THESE_ARE_CODEWARRIOR_DEFINITIONS
30
#pragma define_section system ".system" far_absolute RW
31
 
32
/***
33
 * MCF52235 Derivative Memory map definitions from linker command files:
34
 * __IPSBAR, __RAMBAR, __RAMBAR_SIZE, __FLASHBAR, __FLASHBAR_SIZE linker
35
 * symbols must be defined in the linker command file.
36
 */
37
 
38
        extern __declspec(system)  uint8 __IPSBAR[];
39
        extern __declspec(system)  uint8 __RAMBAR[];
40
        extern __declspec(system)  uint8 __RAMBAR_SIZE[];
41
        extern __declspec(system)  uint8 __FLASHBAR[];
42
        extern __declspec(system)  uint8 __FLASHBAR_SIZE[];
43
#endif
44
 
45
#define __IPSBAR ( ( uint8 * ) 0x40000000 )
46
#define __RAMBAR ( ( uint8 * ) 0x20000000 )
47
 
48
#define IPSBAR_ADDRESS   (uint32)__IPSBAR
49
#define RAMBAR_ADDRESS   (uint32)__RAMBAR
50
#define RAMBAR_SIZE      (uint32)__RAMBAR_SIZE
51
#define FLASHBAR_ADDRESS (uint32)__FLASHBAR
52
#define FLASHBAR_SIZE    (uint32)__FLASHBAR_SIZE
53
 
54
 
55
#include "MCF52235_SCM.h"
56
#include "MCF52235_DMA.h"
57
#include "MCF52235_UART.h"
58
#include "MCF52235_I2C.h"
59
#include "MCF52235_QSPI.h"
60
#include "MCF52235_RTC.h"
61
#include "MCF52235_DTIM.h"
62
#include "MCF52235_INTC.h"
63
#include "MCF52235_GIACR.h"
64
#include "MCF52235_FEC.h"
65
#include "MCF52235_GPIO.h"
66
#include "MCF52235_PAD.h"
67
#include "MCF52235_RCM.h"
68
#include "MCF52235_CCM.h"
69
#include "MCF52235_PMM.h"
70
#include "MCF52235_CLOCK.h"
71
#include "MCF52235_EPORT.h"
72
#include "MCF52235_PIT.h"
73
#include "MCF52235_ADC.h"
74
#include "MCF52235_GPTA.h"
75
#include "MCF52235_PWM.h"
76
#include "MCF52235_FlexCAN.h"
77
#include "MCF52235_CFM.h"
78
#include "MCF52235_EPHY.h"
79
#include "MCF52235_RNGA.h"
80
 
81
#ifdef __cplusplus
82
}
83
#endif
84
 
85
 
86
#endif /* __MCF52235_H__ */

powered by: WebSVN 2.1.0

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