XilinxProcessorIPLib/drivers/axicdma/src/xaxicdma_bdring.c
void XAxiCdma_BdRingSnapShotCurrBd(XAxiCdma *InstancePtr)
{
	XAxiCdma_Bd *BdPtr;

	BdPtr =	XAxiCdma_BdRingGetCurrBd(InstancePtr);

	InstancePtr->BdaRestart = XAxiCdma_BdRingNext(InstancePtr, BdPtr);

	return;
}
/*****************************************************************************/
/**
 * This function grabs a copy of the current BD pointer from the hardware.
 * It is normally used to prepare for the hardware reset. The snapshot of the
 * current BD pointer should be reloaded once the reset is done.
 *
 * @param	InstancePtr is the driver instance we are working on
 *
 * @return	None
 *
 * @note	None.
 *
 *****************************************************************************/
This function grabs a copy of the current BD pointer from the hardware.
It is normally used to prepare for the hardware reset. The snapshot of the
current BD pointer should be reloaded once the reset is done.

@param       InstancePtr is the driver instance we are working on

@return      None

@note        None.
This function grabs a copy of the current BD pointer from the hardware . It is normally used to prepare for the hardware reset . The snapshot of the current BD pointer should be reloaded once the reset is done . @param InstancePtr is the driver instance we are working on @return None @note None .
void XAxiCdma_BdRingSnapShotCurrBd(XAxiCdma *InstancePtr)
{
	XAxiCdma_Bd *BdPtr;
	BdPtr =	XAxiCdma_BdRingGetCurrBd(InstancePtr);
	InstancePtr->BdaRestart = XAxiCdma_BdRingNext(InstancePtr, BdPtr);
	return;
}
void XAxiCdma_BdRingSnapShotCurrBd ( XAxiCdma * InstancePtr ) { XAxiCdma_Bd * BdPtr ; BdPtr = XAxiCdma_BdRingGetCurrBd ( InstancePtr ) ; InstancePtr -> BdaRestart = XAxiCdma_BdRingNext ( InstancePtr , BdPtr ) ; return ; }
This function grabs a copy of the current BD pointer from the hardware.
This function grabs a copy of the current BD pointer from the hardware .