📄 sportisr.asm
字号:
/***************************************************************************************************
**
** File: SportTisr.asm
** Date: 7/29/05
** Use: SPORT0 & SPORT2 interrupt Service Routines
**
*****************************************************************************************************/
#include <def21369.h>
.section /pm seg_pmco;
.global _talkThroughISR_SP0;
.global _talkThroughISR_SP2;
_talkThroughISR_SP0:
r10=dm(RXSP0A); // Read new sample from SPDIF Rx
dm(TXSP1A)=r10; // write to SRC1-Input
_talkThroughISR_SP0.end:
rti;
_talkThroughISR_SP2:
r10=dm(RXSP2A); // read new sample from SRC1 Output
r11=dm(RXSP2B); // read new sample from ADC
dm(TXSP3A)=r10; // write to DAC4
dm(TXSP3B)=r10; // write to DAC3
dm(TXSP4A)=r11; // write to DAC2
dm(TXSP4B)=r11; // write to DAC1
_talkThroughISR_SP2.end:
rti;
//--------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -