uartpsv
Vitis Drivers API Documentation
xuartpsv.c File Reference

Macros

#define XUARTPSV_MAX_BAUD_ERROR_RATE   3U
 max % error allowed More...
 

Functions

s32 XUartPsv_CfgInitialize (XUartPsv *InstancePtr, XUartPsv_Config *Config, UINTPTR EffectiveAddr)
 Initializes a specific XUartPsv instance such that it is ready to be used. More...
 
u32 XUartPsv_Send (XUartPsv *InstancePtr, u8 *BufferPtr, u32 NumBytes)
 This functions sends the specified buffer using the device in either polled or interrupt driven mode. More...
 
u32 XUartPsv_Send_NoWait (XUartPsv *InstancePtr, u8 *BufferPtr, u32 NumBytes)
 
More...
 
u32 XUartPsv_Recv (XUartPsv *InstancePtr, u8 *BufferPtr, u32 NumBytes)
 This function attempts to receive a specified number of bytes of data from the device and store it into the specified buffer. More...
 
u32 XUartPsv_SendBuffer (XUartPsv *InstancePtr)
 This function sends a buffer that has been previously specified by setting up the instance variables of the instance. More...
 
u32 XUartPsv_ReceiveBuffer (XUartPsv *InstancePtr)
 This function receives a buffer that has been previously specified by setting up the instance variables of the instance. More...
 
s32 XUartPsv_SetBaudRate (XUartPsv *InstancePtr, u32 BaudRate)
 Sets the baud rate for the device. More...
 
void XUartPsv_ProgramCtrlReg (XUartPsv *InstancePtr, u32 CtrlRegister)
 This function reprograms the control register according to the following sequence mentioned in the TRM. More...
 
void XUartPsv_CleanupRx (XUartPsv *InstancePtr)
 This function is a cleanup function to allow reseting Rx NextBytePtr, RemainingBytes and RequestedBytes. More...
 
void XUartPsv_CleanupTx (XUartPsv *InstancePtr)
 This function is a cleanup function to allow reseting Tx NextBytePtr, RemainingBytes and RequestedBytes. More...