OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [Common/] [drivers/] [LuminaryMicro/] [hw_memmap.h] - Blame information for rev 610

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 610 jeremybenn
//*****************************************************************************
2
//
3
// hw_memmap.h - Macros defining the memory map of Stellaris.
4
//
5
// Copyright (c) 2005-2008 Luminary Micro, Inc.  All rights reserved.
6
// 
7
// Software License Agreement
8
// 
9
// Luminary Micro, Inc. (LMI) is supplying this software for use solely and
10
// exclusively on LMI's microcontroller products.
11
// 
12
// The software is owned by LMI and/or its suppliers, and is protected under
13
// applicable copyright laws.  All rights are reserved.  You may not combine
14
// this software with "viral" open-source software in order to form a larger
15
// program.  Any use in violation of the foregoing restrictions may subject
16
// the user to criminal sanctions under applicable laws, as well as to civil
17
// liability for the breach of the terms and conditions of this license.
18
// 
19
// THIS SOFTWARE IS PROVIDED "AS IS".  NO WARRANTIES, WHETHER EXPRESS, IMPLIED
20
// OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
21
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
22
// LMI SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
23
// CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
24
// 
25
// This is part of revision 2523 of the Stellaris Peripheral Driver Library.
26
//
27
//*****************************************************************************
28
 
29
#ifndef __HW_MEMMAP_H__
30
#define __HW_MEMMAP_H__
31
 
32
//*****************************************************************************
33
//
34
// The following are defines for the base address of the memories and
35
// peripherals.
36
//
37
//*****************************************************************************
38
#define FLASH_BASE              0x00000000  // FLASH memory
39
#define SRAM_BASE               0x20000000  // SRAM memory
40
#define WATCHDOG_BASE           0x40000000  // Watchdog
41
#define GPIO_PORTA_BASE         0x40004000  // GPIO Port A
42
#define GPIO_PORTB_BASE         0x40005000  // GPIO Port B
43
#define GPIO_PORTC_BASE         0x40006000  // GPIO Port C
44
#define GPIO_PORTD_BASE         0x40007000  // GPIO Port D
45
#define SSI0_BASE               0x40008000  // SSI0
46
#define SSI1_BASE               0x40009000  // SSI1
47
#define UART0_BASE              0x4000C000  // UART0
48
#define UART1_BASE              0x4000D000  // UART1
49
#define UART2_BASE              0x4000E000  // UART2
50
#define I2C0_MASTER_BASE        0x40020000  // I2C0 Master
51
#define I2C0_SLAVE_BASE         0x40020800  // I2C0 Slave
52
#define I2C1_MASTER_BASE        0x40021000  // I2C1 Master
53
#define I2C1_SLAVE_BASE         0x40021800  // I2C1 Slave
54
#define GPIO_PORTE_BASE         0x40024000  // GPIO Port E
55
#define GPIO_PORTF_BASE         0x40025000  // GPIO Port F
56
#define GPIO_PORTG_BASE         0x40026000  // GPIO Port G
57
#define GPIO_PORTH_BASE         0x40027000  // GPIO Port H
58
#define PWM_BASE                0x40028000  // PWM
59
#define QEI0_BASE               0x4002C000  // QEI0
60
#define QEI1_BASE               0x4002D000  // QEI1
61
#define TIMER0_BASE             0x40030000  // Timer0
62
#define TIMER1_BASE             0x40031000  // Timer1
63
#define TIMER2_BASE             0x40032000  // Timer2
64
#define TIMER3_BASE             0x40033000  // Timer3
65
#define ADC_BASE                0x40038000  // ADC
66
#define COMP_BASE               0x4003C000  // Analog comparators
67
#define CAN0_BASE               0x40040000  // CAN0
68
#define CAN1_BASE               0x40041000  // CAN1
69
#define CAN2_BASE               0x40042000  // CAN2
70
#define ETH_BASE                0x40048000  // Ethernet
71
#define MAC_BASE                0x40048000  // Ethernet
72
#define USB0_BASE               0x40050000  // USB 0 Controller
73
#define GPIO_PORTA_AHB_BASE     0x40058000  // GPIO Port A (high speed)
74
#define GPIO_PORTB_AHB_BASE     0x40059000  // GPIO Port B (high speed)
75
#define GPIO_PORTC_AHB_BASE     0x4005A000  // GPIO Port C (high speed)
76
#define GPIO_PORTD_AHB_BASE     0x4005B000  // GPIO Port D (high speed)
77
#define GPIO_PORTE_AHB_BASE     0x4005C000  // GPIO Port E (high speed)
78
#define GPIO_PORTF_AHB_BASE     0x4005D000  // GPIO Port F (high speed)
79
#define GPIO_PORTG_AHB_BASE     0x4005E000  // GPIO Port G (high speed)
80
#define GPIO_PORTH_AHB_BASE     0x4005F000  // GPIO Port H (high speed)
81
#define HIB_BASE                0x400FC000  // Hibernation Module
82
#define FLASH_CTRL_BASE         0x400FD000  // FLASH Controller
83
#define SYSCTL_BASE             0x400FE000  // System Control
84
#define UDMA_BASE               0x400FF000  // uDMA Controller
85
#define ITM_BASE                0xE0000000  // Instrumentation Trace Macrocell
86
#define DWT_BASE                0xE0001000  // Data Watchpoint and Trace
87
#define FPB_BASE                0xE0002000  // FLASH Patch and Breakpoint
88
#define NVIC_BASE               0xE000E000  // Nested Vectored Interrupt Ctrl
89
#define TPIU_BASE               0xE0040000  // Trace Port Interface Unit
90
 
91
//*****************************************************************************
92
//
93
// The following definitions are deprecated.
94
//
95
//*****************************************************************************
96
#ifndef DEPRECATED
97
 
98
//*****************************************************************************
99
//
100
// The following are deprecated defines for the base address of the memories
101
// and peripherals.
102
//
103
//*****************************************************************************
104
#define SSI_BASE                0x40008000  // SSI
105
#define I2C_MASTER_BASE         0x40020000  // I2C Master
106
#define I2C_SLAVE_BASE          0x40020800  // I2C Slave
107
#define QEI_BASE                0x4002C000  // QEI
108
 
109
#endif
110
 
111
#endif // __HW_MEMMAP_H__

powered by: WebSVN 2.1.0

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