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

📄 vectors.asm

📁 直流电机驱动程序
💻 ASM
字号:
;***********************************************************************************
;  FILE:vectors.asm                                                                 *
;  TMS320LF2407A TEST BED CODE                                                     *
;  ZHEJIANG TIANHUANG TECHNOLOGY INDUSTRIAL CO.,Ltd                                *
;  07/28/2006  Vesion 1.0                                                          *
;  Jzming                                                                          *
;**********************************************************************************/

    .title "vectors.asm"
    .global   _nothing,_t1_perint,_uarttr   ;直接返回中断服务程序符号
    .global   _speed_ref_dram,_speed_fbk_dram,_cur_ref_dram,_cur_pid_out_dram,_cur_fbk_dram
    .global   _speed_kp_dram,_speed_ki_dram,_speed_kd_dram,_speed_inter_dram,_speed_dead_band_dram,_speed_out_max_dram,_speed_out_min_dram
    .global   _cur_kp_dram,_cur_ki_dram,_cur_kd_dram,_cur_inter_dram,_cur_dead_band_dram,_cur_out_max_dram,_cur_out_min_dram
    .ref   _c_int0               ;复位向量符号
    .sect  ".vectors"  

_speed_ref_dram    .usect  ".blk3",  2 
_speed_fbk_dram    .usect  ".blk3",  1
_cur_ref_dram    .usect  ".blk3",  1
_cur_pid_out_dram    .usect  ".blk3",  1
_cur_fbk_dram    .usect  ".blk3",  1 

_speed_kp_dram    .usect  ".blk3",  2
_speed_ki_dram    .usect  ".blk3",  2
_speed_kd_dram    .usect  ".blk3",  2
_speed_inter_dram    .usect  ".blk3",  2 
_speed_dead_band_dram    .usect  ".blk3",  1
_speed_out_max_dram    .usect  ".blk3",  1
_speed_out_min_dram    .usect  ".blk3",  1

_cur_kp_dram    .usect  ".blk3",  2 
_cur_ki_dram    .usect  ".blk3",  2
_cur_kd_dram    .usect  ".blk3",  2
_cur_inter_dram    .usect  ".blk3",  2
_cur_dead_band_dram    .usect  ".blk3",  1 
_cur_out_max_dram    .usect  ".blk3",  1
_cur_out_min_dram   .usect  ".blk3",  1



		
reset 	    B 	_c_int0 	     ; Reset Vector
INT1 		B 	_nothing         ; Interrupt Level 1
INT2 		B 	_t1_perint 	     ; Interrupt Level 2
INT3 		B 	_nothing 	     ; Interrupt Level 3
INT4 		B 	_nothing 	     ; Interrupt Level 4
INT5 		B 	_uarttr 	     ; Interrupt Level 5
INT6 		B 	_nothing 	     ; Interrupt Level 6
RESERVED 	B 	_nothing         ; Reserved
SW_INT8 	B	_nothing         ; Software Interrupt
SW_INT9 	B 	_nothing         ; Software Interrupt
SW_INT10 	B 	_nothing         ; Software Interrupt
SW_INT11 	B 	_nothing         ; Software Interrupt
SW_INT12 	B 	_nothing         ; Software Interrupt
SW_INT13 	B 	_nothing         ; Software Interrupt
SW_INT14 	B 	_nothing         ; Software Interrupt
SW_INT15 	B 	_nothing         ; Software Interrupt
SW_INT16	B 	_nothing         ; Software Interrupt
TRAP 	 	B 	_nothing         ; Trap vector
NMI         B 	_nothing         ; Nonmaskable Interrupt
EMU_TRAP 	B 	_nothing         ; Emulator Trap
SW_INT20 	B 	_nothing         ; Software Interrupt
SW_INT21 	B 	_nothing         ; Software Interrupt
SW_INT22 	B 	_nothing         ; Software Interrupt
SW_INT23 	B 	_nothing         ; Software Interrupt
SW_INT24 	B 	_nothing         ; Software Interrupt
SW_INT25 	B 	_nothing         ; Software Interrupt
SW_INT26	B 	_nothing         ; Software Interrupt
SW_INT27 	B 	_nothing         ; Software Interrupt
SW_INT28 	B 	_nothing         ; Software Interrupt
SW_INT29 	B 	_nothing         ; Software Interrupt
SW_INT30 	B 	_nothing         ; Software Interrupt
SW_INT31 	B 	_nothing         ; Software Interrupt
;------------------------------------------------------------------------------


⌨️ 快捷键说明

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