📄 bsp_base_reg_cfg.h
字号:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
//
//------------------------------------------------------------------------------
//
// File: bsp_base_reg_cfg.h
//
// This header file defines location for BSP on-board devices. It usually
// should contain only physical addresses. Virtual addresses should be obtain
// via OALPAtoVA function call. Base addresses for SoC are defined in similar
// file s3c2410x_base_reg_cfg.h.
//
#ifndef __BSP_BASE_REG_CFG_H
#define __BSP_BASE_REG_CFG_H
#if __cplusplus
extern "C" {
#endif
//------------------------------------------------------------------------------
//
// NAMING CONVENTIONS
//
// BSP_BASE_REG_ is the standard prefix for BSP device base registers.
//
// Memory ranges are accessed using physical, uncached, or cached addresses,
// depending on the system state. The following abbreviations are used for
// each addressing type:
//
// PA - physical address
// CA - cached virtual address
// UA - uncached virtual address
//
// The naming convention for base registers is:
//
// xxx_BASE_REG_<ADDRTYPE>_<SUBSYSTEM>
//
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//
// Define: BSP_BASE_REG_PA_CS8900A
//
// Locates CS8900A Ethernet chip. On SMDK2410X memory bank 3 is used
// to connect this device. Note that there must exist memory mapping in
// memory_cfg.h for this memory area.
//
#define BSP_BASE_REG_PA_CS8900A_IOBASE 0x19000300
#define BSP_BASE_REG_PA_CS8900A_MEMBASE 0x18000000
//------------------------------------------------------------------------------
//
// Define: BSP_BASE_REG_PA_AM29LV800
//
// Locates the base physical address of the on-board AMD am29lv800 flash
// located in bank 0.
//
#define BSP_BASE_REG_PA_AM29LV800 0x00000000
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//
// Define: BSP_BASE_REG_PA_DMA
//
// Locates the base physical address of the DeviceEmulator DMA Transport
//
#define BSP_BASE_REG_PA_DMA 0x500f0000
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// Define: BSP_BASE_REG_PA_SPKHEADSET
// Locates the base physical address of the DeviceEmulator Speakerphone, Headset
// carkit device.
#define BSP_BASE_REG_PA_SPKHEADSET 0x500fffc0
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//
// Define: BSP_BASE_REG_PA_LED
//
// Locates the base physical address of the DeviceEmulator Notification LED
//
#define BSP_BASE_REG_PA_LED 0x500fffd0
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//
// Define: BSP_BASE_REG_PA_BATTERY
//
// Locates the base physical address of the DeviceEmulator Battery
//
#define BSP_BASE_REG_PA_BATTERY 0x500ffff0
//------------------------------------------------------------------------------
#if __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -