📄 eb408070.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/r40807/r40807.inc" /* - library definition */
#- Flash Memory : AT49BV1614
.EQU FLASH_BASE, 0x01000000
.EQU FLASH_SIZE, 0x200000
# **************
# * WARNING !!!*
# **************
#- WARNING !! No External SRAM memories are fitted on the board.
#- This definition is only if the user adds external SRAM devices.
# The following definition are put in comments
#- EXT_SRAM_BASE EQU 0x02000000
#- EXT_SRAM_SIZE EQU (256*1024)
#- EXT_SRAM_LIMIT EQU (EXT_SRAM_BASE + EXT_SRAM_SIZE)
#- Redefinition of External SRAM to Internal SRAM
.EQU EXT_SRAM_BASE, RAM_LIMIT @ 8K (8*1024)
.EQU EXT_SRAM_SIZE, (RAM_SIZE-RAM_LIMIT) @ 256K (256*1024) - 8K (8*1024)
.EQU EXT_SRAM_LIMIT, (RAM_BASE + RAM_SIZE) @ = SRAM_LIMIT = 0x40000
#------------------------------------------------------------------------------
#- 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 */
.IFDEF AT91_EXT_RAM /* 0x02000000, 16MB, 0 hold, 16 bits, 1 WS */
.EQU EBI_CSR_1, (EXT_SRAM_BASE|0x2122) @ Extern RAM access address and configurations.
.ELSE
.EQU EBI_CSR_1, 0x10000000 @ unused
.ENDIF
.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, P16 @- D1
.EQU LED2, P17 @- D2
.EQU LED3, P18 @- D3
.EQU LED4, P19 @- D4
.EQU LED5, P3 @- D5
.EQU LED6, P4 @- D6
.EQU LED7, P5 @- D7
.EQU LED8, P6 @- D8
#- Push Button Definition
.EQU BP_SW1, P12
.EQU BP_SW2, P9
.EQU BP_SW3, P1
.EQU BP_SW4, P2
#- Serial EEPROM Definition
.EQU SCL, (1<<8)
.EQU SDA, (1<<7)
.EQU PIO_SCL, (1<<8)
.EQU PIO_SDA, (1<<7)
# END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -