setupdsk5402.asm
来自「基于ti 5402dsk的flashburn程序。」· 汇编 代码 · 共 37 行
ASM
37 行
;**********************************************************************
;* (C) Copyright 2005, Software Design Solutions, Inc.
;*
;* Portions of this work have been provided under license
;* by Texas Instruments Inc.
;*
;* SetupDSK5402.asm -- Target initialization
;**********************************************************************
;
;******************************************************************************
;** DSP Control Register Definitions
;******************************************************************************
SWWSR .set (28h) ;
FLWAIT_SWWSR .set (5861h) ; Wait States for Flash
EXTWAIT_SWWSR .set (0209h) ; Wait States for Ext Mem and IO
INIT_SWCR .set (0001h) ; Wait State Multipler bit set for x2
.global _dspInitEx
.global _dspInitFl
.text
_dspInitEx:
stm #INIT_SWCR, 2Bh ; Set Wait State Multipler Bit
stm #EXTWAIT_SWWSR, SWWSR ; Set I/O and Ext memory wait states
ret
_dspInitFl:
stm #INIT_SWCR, 2Bh ; Set Wait State Multipler Bit
stm #FLWAIT_SWWSR, SWWSR ; Set I/O and Ext memory wait states
ret
.end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?