db01.h

来自「嵌入式系统开发用源代码 包含At91C arm芯片相关各种例程 包括整数性能」· C头文件 代码 · 共 53 行

H
53
字号
//*--------------------------------------------------------------------------
//*      ATMEL Microcontroller Software Support  -  ROUSSET  -
//*--------------------------------------------------------------------------
//* The software is delivered "AS IS" without warranty or condition of any
//* kind, either express, implied or statutory. This includes without
//* limitation any warranty or condition with respect to merchantability or
//* fitness for any particular purpose, or against the infringements of
//* intellectual property rights of others.
//*-----------------------------------------------------------------------------
//* File Name           : db01.h
//* Object              : AT91 Development Board Features Definition File
//* Translator          : ARM Software Development Toolkit V2.11a
//*
//* 1.0 14/09/98 JCZ    : Creation
//* 2.0 21/10/98 JCZ    : Clean up
//*--------------------------------------------------------------------------

#ifndef db01_h
#define db01_h

/*---------------------------------------*/
/* AT91DB01 External Memories Definition */
/*---------------------------------------*/

/* SSRAM emulating Internal ROM : 256K*32 */
#define SSRAM_BASE          INT_ROM_BASE
#define SSRAM_SIZE          (256*1024*4)
#define SSRAM_LIMIT         ((u_int *)(((u_int)SSRAM_BASE) + SSRAM_SIZE))

/* External Boot ROM Memory : AT27LV256A 32k*8 */
#define BOOT_ROM_BASE       ((u_int *) 0x01000000)
#define BOOT_ROM_SIZE       (32*1024)
#define BOOT_ROM_LIMIT      ((u_int *)(((u_int)BOOT_ROM_BASE) + BOOT_ROM_SIZE))

/* Flash Memory : 2 * AT29C020 128k*8 */
#define FLASH_BASE          ((u_int *)0x02000000)
#define FLASH_SIZE          (2*128*1024)
#define FLASH_LIMIT         ((u_int *)(((u_int)FLASH_BASE) + FLASH_SIZE))

/*--------------------------------*/
/* AT91DB0x Interfaces Definition */
/*--------------------------------*/

/* Green Leds */
#define LED1        P4
#define LED2        P1

/* SW1 Push Button */
#define IRQ_SW1     IRQ0
#define PIN_SW1     P9

#endif /* db01_h */

⌨️ 快捷键说明

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