![]() |
uartlite
Vitis Drivers API Documentation
|
Functions | |
| int | XUartLite_CfgInitialize (XUartLite *InstancePtr, XUartLite_Config *Config, UINTPTR EffectiveAddr) |
| Initialize a XUartLite instance. More... | |
| unsigned int | XUartLite_Send (XUartLite *InstancePtr, u8 *DataBufferPtr, unsigned int NumBytes) |
| This functions sends the specified buffer of data using the UART in either polled or interrupt driven modes. More... | |
| unsigned int | XUartLite_Recv (XUartLite *InstancePtr, u8 *DataBufferPtr, unsigned int 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 | XUartLite_ResetFifos (XUartLite *InstancePtr) |
| This function resets the FIFOs, both transmit and receive, of the UART such that they are emptied. More... | |
| int | XUartLite_IsSending (XUartLite *InstancePtr) |
| This function determines if the specified UART is sending data. More... | |
| unsigned int | XUartLite_SendBuffer (XUartLite *InstancePtr) |
| This function sends a buffer that has been previously specified by setting up the instance variables of the instance. More... | |
| unsigned int | XUartLite_ReceiveBuffer (XUartLite *InstancePtr) |
| This function receives a buffer that has been previously specified by setting up the instance variables of the instance. More... | |
| u8 | XUartLite_GetSR (XUartLite *InstancePtr) |
| This function reads the status register and updates the error stats, before returning the status register value. More... | |