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

📄 in_eb01.s

📁 嵌入式系统开发用源代码 包含At91C arm芯片相关各种例程 包括整数性能测试,浮点测试,硬件驱动等
💻 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_eb01.s
;- Object               : table for AT91EB01 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

            DCD     $debug*4
            DCD     $fiq*4
            DCD     $irq*4
            DCD     $svc*4
            DCD     $abort*4
            DCD     $undef*4

            MEND

; ------------------------ List of constants and types ------------------------
; None

; ------------------------ List of Imported resources -------------------------
; None

; ------------------------ List of Internal resources -------------------------
; None

; ------------------------ List of Exported resources -------------------------

    IF  :DEF: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
;------------------------------------------------------------------------------

                EXPORT      InitTableEBI
; 32,768 MHz master clock assumed
InitTableEBI
            DCD         0x01002535  ; 0x01000000, 16MB, 2 hold, 16 bits, 6 WS
            DCD         0x02002121  ; 0x02000000, 16MB, 0 hold, 16 bits, 1 WS
            DCD         0x20000000  ; unused
            DCD         0x30000000  ; unused
            DCD         0x40000000  ; unused
            DCD         0x50000000  ; unused
            DCD         0x60000000  ; unused
            DCD         0x70000000  ; unused
            DCD         0x00000001  ; REMAP command
            DCD         0x00000006  ; 7 memory regions, standard read
            DCD         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
;------------------------------------------------------------------------------

                EXPORT      InitTableStack

InitTableStack
    IF  :DEF:AT91_DEBUG_NONE
            STACK_SIZE  0, 3, 3*8, 256, 3, 3
    ENDIF
    IF  :DEF:AT91_DEBUG_ANGEL
            STACK_SIZE  0, 0, 0, 0, 0, 0
    ENDIF
    IF  :DEF:AT91_DEBUG_ICE
            STACK_SIZE  1024, 3, 3*8, 0, 3, 3
    ENDIF

            END

⌨️ 快捷键说明

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