AR# 35863

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

Description

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

Solution

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
Date 12/15/2012
Status Active
Type General Article
IP