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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ColdFire_MCF52221_CodeWarrior/] [headers/] [MCF52221.h] - Blame information for rev 582

Go to most recent revision | 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
 * 2008/05/23 Revision: 0.95
6
 *
7
 * (c) Copyright UNIS, a.s. 1997-2008
8
 * UNIS, a.s.
9
 * Jundrovska 33
10
 * 624 00 Brno
11
 * Czech Republic
12
 * http      : www.processorexpert.com
13
 * mail      : info@processorexpert.com
14
 */
15
 
16
#ifndef __MCF52221_H__
17
#define __MCF52221_H__
18
 
19
 
20
/********************************************************************/
21
/*
22
 * The basic data types
23
 */
24
 
25
typedef unsigned char           uint8;   /*  8 bits */
26
typedef unsigned short int      uint16;  /* 16 bits */
27
typedef unsigned long int       uint32;  /* 32 bits */
28
 
29
typedef signed char             int8;    /*  8 bits */
30
typedef signed short int        int16;   /* 16 bits */
31
typedef signed long int         int32;   /* 32 bits */
32
 
33
typedef volatile uint8          vuint8;  /*  8 bits */
34
typedef volatile uint16         vuint16; /* 16 bits */
35
typedef volatile uint32         vuint32; /* 32 bits */
36
 
37
#ifdef __cplusplus
38
extern "C" {
39
#endif
40
 
41
#pragma define_section system ".system" far_absolute RW
42
 
43
/***
44
 * MCF52221 Derivative Memory map definitions from linker command files:
45
 * __IPSBAR, __RAMBAR, __RAMBAR_SIZE, __FLASHBAR, __FLASHBAR_SIZE linker
46
 * symbols must be defined in the linker command file.
47
 */
48
 
49
extern __declspec(system)  uint8 __IPSBAR[];
50
extern __declspec(system)  uint8 __RAMBAR[];
51
extern __declspec(system)  uint8 __RAMBAR_SIZE[];
52
extern __declspec(system)  uint8 __FLASHBAR[];
53
extern __declspec(system)  uint8 __FLASHBAR_SIZE[];
54
 
55
#define IPSBAR_ADDRESS   (uint32)__IPSBAR
56
#define RAMBAR_ADDRESS   (uint32)__RAMBAR
57
#define RAMBAR_SIZE      (uint32)__RAMBAR_SIZE
58
#define FLASHBAR_ADDRESS (uint32)__FLASHBAR
59
#define FLASHBAR_SIZE    (uint32)__FLASHBAR_SIZE
60
 
61
 
62
#include "MCF52221_SCM.h"
63
#include "MCF52221_DMA.h"
64
#include "MCF52221_UART.h"
65
#include "MCF52221_I2C.h"
66
#include "MCF52221_QSPI.h"
67
#include "MCF52221_RTC.h"
68
#include "MCF52221_DTIM.h"
69
#include "MCF52221_INTC.h"
70
#include "MCF52221_GPIO.h"
71
#include "MCF52221_PAD.h"
72
#include "MCF52221_RCM.h"
73
#include "MCF52221_CCM.h"
74
#include "MCF52221_PMM.h"
75
#include "MCF52221_CLOCK.h"
76
#include "MCF52221_EPORT.h"
77
#include "MCF52221_PIT.h"
78
#include "MCF52221_ADC.h"
79
#include "MCF52221_GPTA.h"
80
#include "MCF52221_PWM.h"
81
#include "MCF52221_USB_OTG.h"
82
#include "MCF52221_CFM.h"
83
 
84
#ifdef __cplusplus
85
}
86
#endif
87
 
88
 
89
#endif /* __MCF52221_H__ */

powered by: WebSVN 2.1.0

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