Quantcast
Channel: 数字信号处理器 (DSP) & ARM® 微处理器
Viewing all articles
Browse latest Browse all 21822

帖子: 双核通讯,我学习了LOOP程序,是查询方式实现的吧,可以用中断方式吗

$
0
0

if (DSP_SUCCEEDED (status)) {
status = CHNL_issue (processorId, CHNL_ID_INPUT, &LOOP_IOReq) ;
if (DSP_FAILED (status)) {
LOOP_1Print ("CHNL_issue failed (input). Status = [0x%x]\n",
status) ;
}
}

/*
* Reclaim 'filled' buffer from the channel
*/
if (DSP_SUCCEEDED (status)) {
status = CHNL_reclaim (processorId,
CHNL_ID_INPUT,
WAIT_FOREVER,
&LOOP_IOReq) ;
if (DSP_FAILED (status)) {
LOOP_1Print ("CHNL_reclaim failed (input). Status = [0x%x]\n",
status) ;
}
}

这样的双核通讯不是就不能做其他事情了吗


Viewing all articles
Browse latest Browse all 21822

Trending Articles