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.

tms320c6424 uart中断



1  uart有接收和发送中断,但是只有一个中断选择码84可供中断复用寄存器用来将uart的中断映射到特定的cpu中断上,那么当中断发生了,怎么区分两个中断呢?

2  uart的寄存器iir和lsr在中断中用在何处,起到什么作用呢?

3  uart发送中断是发送寄存器空触发中断,而发送寄存器大部分时间都是空,那岂不是一直大部分时间都在反复的进中断,很浪费时间?

4  中断设置寄存器isr和清除寄存器icr一般用在哪里呢,不用行不行?

烦请高手赐教,多谢!