llfifo
Vitis Drivers API Documentation
xstreamer.h File Reference

Data Structures

struct  XStrm_RxFifoStreamer
 This typedef defines a run-time instance of a receive byte-streamer. More...
 
struct  XStrm_TxFifoStreamer
 This typedef defines a run-time instance of a transmit byte-streamer. More...
 

Typedefs

typedef struct XStrm_RxFifoStreamer XStrm_RxFifoStreamer
 This typedef defines a run-time instance of a receive byte-streamer. More...
 
typedef struct XStrm_TxFifoStreamer XStrm_TxFifoStreamer
 This typedef defines a run-time instance of a transmit byte-streamer. More...
 

Functions

void XStrm_RxInitialize (XStrm_RxFifoStreamer *InstancePtr, unsigned FifoWidth, void *FifoInstance, XStrm_XferFnType ReadFn, XStrm_GetLenFnType GetLenFn, XStrm_GetOccupancyFnType GetOccupancyFn)
 XStrm_RxInitialize initializes the XStrm_RxFifoStreamer object referenced by InstancePtr. More...
 
void XStrm_TxInitialize (XStrm_TxFifoStreamer *InstancePtr, unsigned FifoWidth, void *FifoInstance, XStrm_XferFnType WriteFn, XStrm_SetLenFnType SetLenFn, XStrm_GetVacancyFnType GetVacancyFn)
 XStrm_TxInitialize initializes the XStrm_TxFifoStreamer object referenced by InstancePtr. More...
 
void XStrm_TxSetLen (XStrm_TxFifoStreamer *InstancePtr, u32 Bytes)
 XStrm_TxSetLen flushes to the FIFO, specified by InstancePtr, any bytes remaining in internal buffers and begins a hardware transfer of data out of the transmit channel of the FIFO. More...
 
void XStrm_Write (XStrm_TxFifoStreamer *InstancePtr, void *BufPtr, unsigned Bytes)
 XStrm_Write writes Bytes bytes of the block of memory, referenced by BufPtr, to the transmit channel of the FIFO referenced by InstancePtr. More...
 
u32 XStrm_RxGetLen (XStrm_RxFifoStreamer *InstancePtr)
 XStrm_RxGetLen notifies the hardware that the program is ready to receive the next frame from the receive channel of the FIFO, specified by InstancePtr. More...
 
void XStrm_Read (XStrm_RxFifoStreamer *InstancePtr, void *BufPtr, unsigned Bytes)
 XStrm_Read reads Bytes bytes from the FIFO specified by InstancePtr to the block of memory, referenced by BufPtr. More...