zhiweiqiang33 发表于 2013-5-15 10:38:41

大家分享一下

This UART chip always produces level active interrupts, and the IIR
       * only indicates the highest priority interrupt.
       * In the case that receive and transmit interrupts happened at the same time, we must clear both interrupt pending to prevent edge-triggered interrupt(output from interrupt controller) from locking up. One way doing it is to disable all the interrupts at the beginning of the ISR and enable at the end.
这段是完整的
页: [1]
查看完整版本: 大家分享一下