1 /* Coldfire C Header File
2 * Copyright Freescale Semiconductor Inc
5 * 2008/04/17 Revision: 0.2
7 * (c) Copyright UNIS, spol. s r.o. 1997-2008
12 * http : www.processorexpert.com
13 * mail : info@processorexpert.com
16 #ifndef __MCF52259_H__
17 #define __MCF52259_H__
20 /********************************************************************/
22 * The basic data types
25 typedef unsigned char uint8; /* 8 bits */
26 typedef unsigned short int uint16; /* 16 bits */
27 typedef unsigned long int uint32; /* 32 bits */
29 typedef signed char int8; /* 8 bits */
30 typedef signed short int int16; /* 16 bits */
31 typedef signed long int int32; /* 32 bits */
33 typedef volatile uint8 vuint8; /* 8 bits */
34 typedef volatile uint16 vuint16; /* 16 bits */
35 typedef volatile uint32 vuint32; /* 32 bits */
41 #pragma define_section system ".system" far_absolute RW
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.
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[];
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
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"
95 #endif /* __MCF52259_H__ */