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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ColdFire_MCF52259_CodeWarrior/] [Freescale_Headers/] [MCF52259.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
 * 2008/04/17 Revision: 0.2
6
 *
7
 * (c) Copyright UNIS, spol. s r.o. 1997-2008
8
 * UNIS, spol. s r.o.
9
 * Jundrovska 33
10
 * 624 00 Brno
11
 * Czech Republic
12
 * http      : www.processorexpert.com
13
 * mail      : info@processorexpert.com
14
 */
15
 
16
#ifndef __MCF52259_H__
17
#define __MCF52259_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
 * MCF52259 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 "MCF52259_SCM.h"
63
#include "MCF52259_FBCS.h"
64
#include "MCF52259_DMA.h"
65
#include "MCF52259_UART.h"
66
#include "MCF52259_I2C.h"
67
#include "MCF52259_QSPI.h"
68
#include "MCF52259_DTIM.h"
69
#include "MCF52259_INTC.h"
70
#include "MCF52259_FEC.h"
71
#include "MCF52259_GPIO.h"
72
#include "MCF52259_PAD.h"
73
#include "MCF52259_RCM.h"
74
#include "MCF52259_CCM.h"
75
#include "MCF52259_PMM.h"
76
#include "MCF52259_CLOCK.h"
77
#include "MCF52259_EPORT.h"
78
#include "MCF52259_BWT.h"
79
#include "MCF52259_PIT.h"
80
#include "MCF52259_FlexCAN.h"
81
#include "MCF52259_CANMB.h"
82
#include "MCF52259_RTC.h"
83
#include "MCF52259_ADC.h"
84
#include "MCF52259_GPT.h"
85
#include "MCF52259_PWM.h"
86
#include "MCF52259_USB_OTG.h"
87
#include "MCF52259_CFM.h"
88
#include "MCF52259_RNGA.h"
89
 
90
#ifdef __cplusplus
91
}
92
#endif
93
 
94
 
95
#endif /* __MCF52259_H__ */

powered by: WebSVN 2.1.0

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