📄 setupdsk5402.asm
字号:
;**********************************************************************
;* (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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -