📄 in_db01.s
字号:
/*
------------------------------------------------------------------------------
- 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 source : in_db01.s
- Object : Table for AT91DB01 initialization
- Translator : ARM Software Development Toolkit V2.11a
-
- Exported Resources : InitTableEBI - InitTableStack
- Imported Resources : None
-
- 1.0 15/09/98 JLV : Creation
- 2.0 21/10/98 JCZ : Clean up.
- 2.1 16/03/99 JCZ : SDT V2.5
- : Reserve stack space on top of memory for ICE Debug.
------------------------------------------------------------------------------
*/
/* AREA Init, CODE, READONLY
*/
/* -------------------------- List of Included Files --------------------------- */
.INCLUDE "../../Include/ebi.inc"
/* -------------------------- List of Macro definitions ------------------------ */
.MACRO STACK_SIZE \debug, \fiq, \irq, \svc, \abort, \undef
.long \debug*4
.long \fiq*4
.long \irq*4
.long \svc*4
.long \abort*4
.long \undef*4
.ENDM
/* ------------------------ List of constants and types ------------------------ */
/* None */
/* ------------------------ List of Imported resources ------------------------- */
/* None */
/* ------------------------ List of Internal resources ------------------------- */
/* None */
/* ------------------------ List of Exported resources ------------------------- */
.IFDEF AT91_DEBUG_NONE
/*
------------------------------------------------------------------------------
- Function : InitTableEBI
- Treatments : Table for EBI initialization
- Input Parameters : None
- Output Parameters : None
- Registers lost : None
- Called Functions : None
- Called Macros : None
------------------------------------------------------------------------------
*/
,global InitTableEBI
; 32,768 MHz master clock assumed
InitTableEBI:
.long 0x0100222A /* 0x01000000, 1MB, 1 hold, 8 bits, 6 WS */
.long 0x02002229 /* 0x02000000, 1MB, 1 hold, 16 bits, 5 WS */
.long 0x20000000 /* unused */
.long 0x30000000 /* unused */
.long 0x40000000 /* unused */
.long 0x50000000 /* unused */
.long 0x60000000 /* unused */
.long 0x70000000 /* unused */
.long 0x00000001 /* REMAP command */
.long 0x00000006 /* 7 memory regions, standard read */
.long EBI_BASE /* EBI Base address */
.ENDIF
/*
------------------------------------------------------------------------------
- Function : InitTableStack
- Treatments : Table for stack initialization ( stack sizes)
- Input Parameters : None
- Output Parameters : None
- Registers lost : None
- Called Functions : None
- Called Macros : None
------------------------------------------------------------------------------
*/
.global InitTableStack
InitTableStack:
.IFDEF AT91_DEBUG_NONE
STACK_SIZE 0, 3, 3*8, 256, 3, 3
.ENDIF
.IFDEF AT91_DEBUG_ANGEL
STACK_SIZE 0, 0, 0, 0, 0, 0
.ENDIF
.IFDEF AT91_DEBUG_ICE
STACK_SIZE 1024, 3, 3*8, 0, 3, 3
.ENDIF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -