process_data_1.c

来自「VisualDSP++4.0」· C语言 代码 · 共 18 行

C
18
字号
#include "exercise_1.h"
//--------------------------------------------------------------------------//
// Function:	Process_Data()												//
//																			//
// Description: This function is called from the application when the		//
//				NewSample flag is switched on. The new input samples can be	//
//				found in the variables iADCnC (n = 1..2, C = L/R). The		//
//				processed data should be stored in							//
//				iDACnC (n = 1..3, C = L/R) respectively.					//
//--------------------------------------------------------------------------//

void process_data(void)

{
	iDAC2L = iADC2L;
	iDAC2R = iADC2R;
}

⌨️ 快捷键说明

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