![]() |
llfifo
Vitis Drivers API Documentation
|
Implements XLlFifo byte-streamer functions.
See xstreamer.h for a description on how to use this driver.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00a jvb 10/13/06 First release - based on Robert McGee's streaming packet fifo driver. 1.02a jz 12/04/09 Hal phase 1 support 2.00a hbm 01/20/10 Hal phase 1 support, bump up major release 2.02a asa 12/28/11 The function XStrm_Read is changed to reset HeadIndex to zero when all the bytes are read. 5.5 sk 06/15/20 In XStrm_Read and XStrm_Write add type casting to fix gcc warnings. 6.2 vn 08/26/26 Fix Doxygen warnings. 6.2 tb 09/15/26 Align Doxygen comments with AMD standards.
Macros | |
| #define | min(x, y) (((x) < (y)) ? (x) : (y)) |
| Returns the smaller of two values. More... | |
Functions | |
| void | XStrm_RxInitialize (XStrm_RxFifoStreamer *InstancePtr, unsigned FifoWidth, void *FifoInstance, XStrm_XferFnType ReadFn, XStrm_GetLenFnType GetLenFn, XStrm_GetOccupancyFnType GetOccupancyFn) |
| Initializes a receive byte-streamer instance. More... | |
| void | XStrm_TxInitialize (XStrm_TxFifoStreamer *InstancePtr, unsigned FifoWidth, void *FifoInstance, XStrm_XferFnType WriteFn, XStrm_SetLenFnType SetLenFn, XStrm_GetVacancyFnType GetVacancyFn) |
| Initializes a transmit byte-streamer instance. More... | |
| u32 | XStrm_RxGetLen (XStrm_RxFifoStreamer *InstancePtr) |
| Returns the next receive frame length in bytes. More... | |
| void | XStrm_Read (XStrm_RxFifoStreamer *InstancePtr, void *BufPtr, unsigned Bytes) |
| Reads bytes from the receive streamer. More... | |
| void | XStrm_TxSetLen (XStrm_TxFifoStreamer *InstancePtr, u32 Bytes) |
| Flushes the streamer and starts a transmit. More... | |
| void | XStrm_Write (XStrm_TxFifoStreamer *InstancePtr, void *BufPtr, unsigned Bytes) |
| Writes bytes to the transmit streamer. More... | |