AR# 35863

EDK, UARTLite - How do I clear a UARTlite interrupt?


How do I clear a UARTlite interrupt in my interrupt handler (ISR) in order for additional data to be received?


Once the interrupt is handled, reset the FIFOs (transmit/receive).The UARTLite core does not have any way to disabletheFIFOsfrom receiving data.

Consider using the following function at the end of the interrupt handler routine:

XUartLite_ResetFifos ( XUartLite * InstancePtr ) ;

This function is part of the Xilinx UARTLite software driver. Consult the driver documentation for more information.

AR# 35863
日期 12/15/2012
状态 Active
Type 综合文章