uartlite
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
xuartlite_intr.c File Reference

Overview

Interrupt-related functions for the UART Lite component (XUartLite).

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.00a ecm 08/31/01 First release 1.00b jhl 02/21/02 Repartitioned the driver for smaller files 1.02a rpm 02/14/07 Added check for outstanding transmission before calling the send callback (avoids extraneous callback invocations) 2.00a ktn 10/20/09 Updated to use HAL Processor APIs. The macros have been renamed to remove _m from the name. 3.8 gm 09/25/22 Use XUartLite_GetSR instead of accessing status register directly. 3.14 vn 08/26/26 Fix Doxygen warnings 3.14 vn 09/09/26 Align Doxygen comments with AMD standards

#include "xuartlite.h"
#include "xuartlite_i.h"
#include "xil_io.h"

Functions

void XUartLite_SetRecvHandler (XUartLite *InstancePtr, XUartLite_Handler FuncPtr, void *CallBackRef)
 Sets the receive callback handler. More...
 
void XUartLite_SetSendHandler (XUartLite *InstancePtr, XUartLite_Handler FuncPtr, void *CallBackRef)
 Sets the send callback handler. More...
 
void XUartLite_InterruptHandler (XUartLite *InstancePtr)
 Handles interrupts for the UART Lite driver. More...
 
void XUartLite_DisableInterrupt (XUartLite *InstancePtr)
 Disables the UART interrupt. More...
 
void XUartLite_EnableInterrupt (XUartLite *InstancePtr)
 Enables the UART interrupt. More...