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.

双中断源

我以前是用PIC的用户,对ARM处理器是个新手。我有一个LM3S9B92开发板,我想尝试使用两个中断源,即UART RX和0计时器。我已经使用了产品提供的uart_echo.c和timer.c两个例子。我成功地将uart_echo集成到了我的源代码里,现在我在调试0计时器中断代码时遇到了困难。

不论什么时候,只要我在初始化中断之后将0计时器使能,我都会失去UART RX中断的功能。我尝试过将UART的中断优先级提高,但是并没有解决问题。

有没有人有关于两个不同中断源执行的代码示例?或者有谁能给些建议?