⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 at91rm9200_ebi.h

📁 arch-at91rm9200
💻 H
字号:
/* linux/include/asm-arm/arch-at91rm9200/at91rm9200_ebi.h
 * 
 * Hardware definition for the ebi peripheral in the ATMEL at91rm9200 processor
 * 
 * Generated  01/09/2006 (16:49:36) AT91 SW Application Group from EBI_1759B V1.10
 * 
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.
 * 
 * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
 * DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT,
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
 * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 * 
 * You should have received a copy of the  GNU General Public License along
 * with this program; if not, write  to the Free Software Foundation, Inc.,
 * 675 Mass Ave, Cambridge, MA 02139, USA.
 */


#ifndef __AT91RM9200_EBI_H
#define __AT91RM9200_EBI_H

/* -------------------------------------------------------- */
/* EBI ID definitions for  AT91RM9200           */
/* -------------------------------------------------------- */

/* -------------------------------------------------------- */
/* EBI Base Address definitions for  AT91RM9200   */
/* -------------------------------------------------------- */
#define AT91C_BASE_EBI       	0xFFFFFF60 /**< EBI base address */

/* -------------------------------------------------------- */
/* PIO definition for EBI hardware peripheral */
/* -------------------------------------------------------- */
#define AT91C_PC7_A23      	(1 << 7) /**< Address Bus[23] */
#define AT91C_PC8_A24      	(1 << 8) /**< Address Bus[24] */


/* -------------------------------------------------------- */
/* Register offset definition for EBI hardware peripheral */
/* -------------------------------------------------------- */
#define EBI_CSA 	(0x0000) 	/**< Chip Select Assignment Register */
#define EBI_CFGR 	(0x0004) 	/**< Configuration Register */

/* -------------------------------------------------------- */
/* Bitfields definition for EBI hardware peripheral */
/* -------------------------------------------------------- */
/* --- Register EBI_CSA */
#define AT91C_EBI_CS0A        (0x1 << 0 ) /**< (EBI) Chip Select 0 Assignment */
#define 	AT91C_EBI_CS0A_SMC                  0x0 /**< (EBI) Chip Select 0 is assigned to the Static Memory Controller. */
#define 	AT91C_EBI_CS0A_BFC                  0x1 /**< (EBI) Chip Select 0 is assigned to the Burst Flash Controller. */
#define AT91C_EBI_CS1A        (0x1 << 1 ) /**< (EBI) Chip Select 1 Assignment */
#define 	AT91C_EBI_CS1A_SMC                  (0x0 <<  1) /**< (EBI) Chip Select 1 is assigned to the Static Memory Controller. */
#define 	AT91C_EBI_CS1A_SDRAMC               (0x1 <<  1) /**< (EBI) Chip Select 1 is assigned to the SDRAM Controller. */
#define AT91C_EBI_CS3A        (0x1 << 3 ) /**< (EBI) Chip Select 3 Assignment */
#define 	AT91C_EBI_CS3A_SMC                  (0x0 <<  3) /**< (EBI) Chip Select 3 is only assigned to the Static Memory Controller and NCS3 behaves as defined by the SMC2. */
#define 	AT91C_EBI_CS3A_SMC_SmartMedia       (0x1 <<  3) /**< (EBI) Chip Select 3 is assigned to the Static Memory Controller and the SmartMedia Logic is activated. */
#define AT91C_EBI_CS4A        (0x1 << 4 ) /**< (EBI) Chip Select 4 Assignment */
#define 	AT91C_EBI_CS4A_SMC                  (0x0 <<  4) /**< (EBI) Chip Select 4 is assigned to the Static Memory Controller and NCS4,NCS5 and NCS6 behave as defined by the SMC2. */
#define 	AT91C_EBI_CS4A_SMC_CompactFlash     (0x1 <<  4) /**< (EBI) Chip Select 4 is assigned to the Static Memory Controller and the CompactFlash Logic is activated. */
/* --- Register EBI_CFGR */
#define AT91C_EBI_DBPUC       (0x1 << 0 ) /**< (EBI) Data Bus Pull-Up Configuration */
#define AT91C_EBI_EBSEN       (0x1 << 1 ) /**< (EBI) Bus Sharing Enable */

#endif /* __AT91RM9200_EBI_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -