iomodule
Vitis Drivers API Documentation
xiomodule_uart_intr.c File Reference

Functions

u32 XIOModule_Send (XIOModule *InstancePtr, u8 *DataBufferPtr, u32 NumBytes)
 This functions sends the specified buffer of data using the UART in either polled or interrupt driven modes. More...
 
u32 XIOModule_Recv (XIOModule *InstancePtr, u8 *DataBufferPtr, u32 NumBytes)
 This function will attempt to receive a specified number of bytes of data from the UART and store it into the specified buffer. More...
 
void XIOModule_ResetFifos (XIOModule *InstancePtr)
 This function does nothing, since the UART doesn't have any FIFOs. More...
 
s32 XIOModule_IsSending (XIOModule *InstancePtr)
 This function determines if the specified UART is sending data. More...
 
unsigned int XIOModule_SendBuffer (XIOModule *InstancePtr)
 This function sends a buffer that has been previously specified by setting up the instance variables of the instance. More...
 
unsigned int XIOModule_ReceiveBuffer (XIOModule *InstancePtr)
 This function receives a buffer that has been previously specified by setting up the instance variables of the instance. More...
 
void XIOModule_SetRecvHandler (XIOModule *InstancePtr, XIOModule_Handler FuncPtr, void *CallBackRef)
 This function sets the handler that will be called when an event (interrupt) occurs in the driver for the UART. More...
 
void XIOModule_SetSendHandler (XIOModule *InstancePtr, XIOModule_Handler FuncPtr, void *CallBackRef)
 This function sets the handler that will be called when an event (interrupt) occurs in the driver for the UART. More...
 
void XIOModule_Uart_InterruptHandler (XIOModule *InstancePtr)
 This function is the interrupt handler for the UART. More...
 
void XIOModule_Uart_DisableInterrupt (XIOModule *InstancePtr)
 This function disables the UART interrupt. More...
 
void XIOModule_Uart_EnableInterrupt (XIOModule *InstancePtr)
 This function enables the UART interrupts such that an interrupt will occur when data is received or data has been transmitted. More...