📄 initsport.c
字号:
#include "Sample Playback.h"
/*
Here is the mapping between the SPORTS and the DACS
DSP -> DAC1 : SPORT1A : IIS
DSP -> DAC2 : SPORT1B : IIS
DSP -> DAC3 : SPORT2A : IIS
DSP -> DAC4 : SPORT2B : IIS
*/
void InitSPORT(void)
{
*pSPMCTL23 = 0;
*pSPCTL2 = SPTRAN | SPEN_B | OPMODE | SLEN32 ;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -