UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

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 Created 05/28/2010
Last Updated 12/15/2012
Status Active
Type General Article
IP
  • XPS UART Lite