XilinxProcessorIPLib/drivers/llfifo/src/xstreamer.c
u32 XStrm_RxGetLen(XStrm_RxFifoStreamer *InstancePtr)
{
	u32 len;

	InstancePtr->HeadIndex = InstancePtr->FifoWidth;
	len = (*InstancePtr->GetLenFn)(InstancePtr->FifoInstance);
	InstancePtr->FrmByteCnt = len;
	return len;
}
/*****************************************************************************/
/**
*
* XStrm_RxGetLen notifies the hardware that the program is ready to receive the
* next frame from the receive channel of the FIFO, specified by
* <i>InstancePtr</i>.
*
* Note that the program must first call XStrm_RxGetLen before pulling data
* out of the receive channel of the FIFO with XStrm_Read.
*
* @param    InstancePtr references the FIFO on which to operate.
*
* @return   XStrm_RxGetLen returns the number of bytes available in the next
*           frame.
*
******************************************************************************/
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.

Note that the program must first call XStrm_RxGetLen before pulling data
out of the receive channel of the FIFO with XStrm_Read.
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 . Note that the program must first call XStrm_RxGetLen before pulling data out of the receive channel of the FIFO with XStrm_Read .
u32 XStrm_RxGetLen(XStrm_RxFifoStreamer *InstancePtr)
{
	u32 len;
	InstancePtr->HeadIndex = InstancePtr->FifoWidth;
	len = (*InstancePtr->GetLenFn)(InstancePtr->FifoInstance);
	InstancePtr->FrmByteCnt = len;
	return len;
}
u32 XStrm_RxGetLen ( XStrm_RxFifoStreamer * InstancePtr ) { u32 len ; InstancePtr -> HeadIndex = InstancePtr -> FifoWidth ; len = ( * InstancePtr -> GetLenFn ) ( InstancePtr -> FifoInstance ) ; InstancePtr -> FrmByteCnt = len ; return len ; }
XStrm_RxGetLen notifies the hardware that the program is ready to receive the
next frame from the receive channel of the FIFO, specified by
<i>InstancePtr</i>.
XStrm_RxGetLen notifies the hardware that the program is ready to receive the next frame from the receive channel of the FIFO specified by <i > InstancePtr< / i > .