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

📄 40816.inc

📁 有关ATMEL AT91系列CPU的驱动函数库
💻 INC
字号:
#------------------------------------------------------------------------------
#-      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            : eb40.inc
#- Object               : Evaluation Board EB40 Definition File.
#-
#- 1.0 06/04/00 JPP     : Creation
#- 1.1 30/10/00 JPP     : Additing the EBI description
#------------------------------------------------------------------------------

       	.INCLUDE     "../../parts/m40800/m40800.inc"      /* - library definition */

#---------------------------------------
#- AT91EB40 External Memories Definition
#---------------------------------------
#- Flash Memory : AT29LV1024 64k*16
.EQU    FLASH_BASE,        0x01000000
        
#------------------------------------------------------------------------------
#- EBI Initialization Data
#-------------------------
#- The EBI User Interface Image which is copied by the boot.
#- 32,768MHz master clock assumed.
#- That's hardware! Details in the Electrical Datasheet of the AT91 device.
#- EBI Base Address is added at the end for commodity in copy code.
#------------------------------------------------------------------------------
.EQU	EBI_CSR_0,   	  (FLASH_BASE | 0x2529)    /* 0x01000000, 16MB, 2 tdf, 16 bits, 2 WS  */
.EQU	EBI_CSR_1,   	  0x10000000  /* unused */
.EQU	EBI_CSR_2,   	  0x20000000  /* unused */
.EQU	EBI_CSR_3,   	  0x30000000  /* unused */
.EQU	EBI_CSR_4,   	  0x40000000  /* unused */
.EQU	EBI_CSR_5,   	  0x50000000  /* unused */
.EQU	EBI_CSR_6,   	  0x60000000  /* unused */
.EQU	EBI_CSR_7,   	  0x70000000  /* unused */


#--------------------------------
#- AT91EB40 Interfaces Definition
#--------------------------------

.EQU    LED1,             (1<<1)       /* - Red Led			*/
.EQU    LED2,             (1<<4)       /* - Amber Led         */
.EQU    LED3,             (1<<2)       /* - Green Led         */
                                         
.EQU    IRQ_SW3,          (1<<0)       /* - SW3 Push Button   */      
.EQU    PIN_SW3,          (1<<12)      /*                     */
.EQU    PIN_SW4,          (1<<5)       /* - SW4 Push Button   */
                                         
.EQU    IRQ_SW5,          (1<<16)      /* - SW5 Push Button   */
.EQU    PIN_SW5,          (1<<9)

#           END

⌨️ 快捷键说明

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