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.

msp430g2452

我写了好几个定时器中断嵌套,程序运行到定时器中断a,打开定时器b的中断,定时器b的程序运行完,没有返回定时器a。求个参考例程

  • jiayuan song 说:

    我写了好几个定时器中断嵌套,程序运行到定时器中断a,打开定时器b的中断,定时器b的程序运行完,没有返回定时器a。求个参考例程

    不建议用中断嵌套,看能不能换个逻辑实现。

  • 事实证明中断嵌套是可以做到的

  • jiayuan song 说:

    事实证明中断嵌套是可以做到的

    是可以做到的,但是不建议去做。中断嵌套多了容易出问题。当然如果你中断嵌套用得很熟练,请忽略我的回答