我用的编译软件是STVD,开了定时器中断后,主函数中While(1)循环内的函数只执行了几句,然后就跳到@far @interrupt void NonHandledInterrupt (void)
{
/* in order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction
*/
return;
}
里出不来了,time1里没有任何函数,只是提供一个时基,关掉中断后,While(1)循环里的所有函数都能正常执行,太奇怪了,请大家帮忙看一下! |