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

📄 eb63.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            : eb63.inc
#;- Object               : AT91M63200 Evaluation Board Features Header File.
#;-
#;- 1.0 30/10/00 JPP     : Creation
#;-----------------------------------------------------------------------------

            .INCLUDE     "parts/m63200/m63200.inc"

#;----------------------------------------
#;- AT91EB63 External Memories Definition
#;----------------------------------------
#;- Flash Memory : AT49BV1604 1Mx16
.equ	FLASH_BASE,      0x01000000

.equ	EXT_SRAM_BASE,   0x02000000
.equ	EXT_SRAM_SIZE,   0x00040000      		/* 256Kbytes */
.equ	EXT_SRAM_LIMIT,  (EXT_SRAM_BASE+EXT_SRAM_SIZE)

#;------------------------------------------------------------------------------
#;- EBI Initialization Data
#;-------------------------
#;- The EBI User Interface Image which is copied by the boot.
#;- 25 MHz 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,   	(EXT_SRAM_BASE | 0x2121) /* 0x02000000, 16MB, 0 hold, 16 bits, 1 WS */
.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 */

#;------------------
#;- Leds Definition
#;------------------

.equ	LED1,	     PB8         /* DS1 */
.equ	LED2,	     PB9         /* DS2 */
.equ	LED3,        PB10        /* DS3 */
.equ	LED4,        PB11        /* DS4 */
.equ	LED5,        PB12        /* DS5 */
.equ	LED6,        PB13        /* DS6 */
.equ	LED7,        PB14        /* DS7 */
.equ	LED8,        PB15        /* DS8 */

.equ	LED_PIO_CTRL,     1
.equ	LED_MASK,         0x0000FF00

#;------------------------
#;- Push Button Definition
#;------------------------

.equ	BP_S1,      PB3
.equ	BP_S2,      PB4
.equ	BP_S3,      PB5
.equ	BP_S4,      PA9


.equ	PB_PIO_CTRL,  1

#;----------------------
#;- Shut Down Definition
#;----------------------

.equ	SHDW,              PA22
.equ	SHDW_PIO_CTRL,     1

#;--------------------------
#;- Serial EEPROM Definition
#;--------------------------

.equ	SCL,       PA20
.equ	SDA,       PA21

#            END

⌨️ 快捷键说明

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