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.

DM6437VPFE中断问题



我的目的是在VPFE视频一帧采集结束后进入中断程序把falg置1,再根据flag的值在主函数中处理一帧图像,达到视频处理的目的。

我设的是VDINT0的中断,按道理来说中断程序结束后执行图像处理部分,但是我发现不能回到主函数,

interrupt void extint14_isr(void)
{
flag=1;
sum++;
printf("%d",sum);
return;
}

并且非常快速的输出sum的值,根本不是每秒25个中断,请问有人知道是为什么吗?是VDINT寄存器值不对,还是PCR寄存器不对