This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
loop演示示例中:当dsp端程序运行到TSKLOOP_execute的
status = SIO_issue(info->inputStream,
buffer,
info->bufferSize,
arg) ;
if (status == SYS_OK) {
nmadus = SIO_reclaim (info->inputStream,
(Ptr *) &buffer,
&arg) ;
时代表DSP端已经接收到gpp端发送的数据,在接下来的语句中
/* Do processing on this buffer */
if (status == SYS_OK) {
/* Add code to process the buffer here*/
/
}
这里也说明了让我们自己添加语句去处理接收到的数据,在gpp端,我发送的数据是0xe7;那么怎样添加代码才能把发送的数据保存到指定的数组如char a[256]中呢?