sportisr.asm

来自「ADI 公司的DSP ADSP21369 EZ-KIT LITE开发板的全部源代」· 汇编 代码 · 共 30 行

ASM
30
字号
/***************************************************************************************************
**
**  File: SportTisr.asm
**  Date: 7/29/05
**  Use:  SPORT1 and SPORT3 Interrupt Service Routines   
**  	  
*****************************************************************************************************/

#include <def21369.h>

.section /pm seg_pmco;
.global _talkThroughISR;

_talkThroughISR:


	r10=dm(RXSP0A);		// Read new left sample from ADC
	
	dm(TXSP1A)=r10;			// Write to DAC1
	dm(TXSP1B)=r10;			// Write to DAC2
	dm(TXSP2A)=r10;			// Write to DAC3
	dm(TXSP2B)=r10;			// Write to DAC4
	
	rti;

_talkThroughISR.end:

//--------------------------------------------

⌨️ 快捷键说明

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