XilinxProcessorIPLib/drivers/nandps/src/xnandps.c
static void XNandPs_ReadBuf(XNandPs *InstancePtr, u8 *Buf, u32 Length)
{
	u32 Index;
	u32 AxiLen = Length >> 2;
	u32 *Ptr = (u32 *)Buf;

	for(Index = 0; Index < AxiLen; Index++) {
		Ptr[Index] = XNandPs_ReadReg(InstancePtr->DataPhaseAddr);
	}
}
/*****************************************************************************/
/**
*
* This function reads the page data from the AXI Data Phase Address.
*
* @param	InstancePtr is a pointer to the XNandPs instance.
* @param	Buf is the buffer pointer to store the byte.
* @param	Length is the number of bytes to read.
*
* @return
*		- None.
*
******************************************************************************/
This function reads the page data from the AXI Data Phase Address.
This function reads the page data from the AXI Data Phase Address .
static void XNandPs_ReadBuf(XNandPs *InstancePtr, u8 *Buf, u32 Length)
{
	u32 Index;
	u32 AxiLen = Length >> 2;
	u32 *Ptr = (u32 *)Buf;
	for(Index = 0; Index < AxiLen; Index++) {
		Ptr[Index] = XNandPs_ReadReg(InstancePtr->DataPhaseAddr);
	}
}
static void XNandPs_ReadBuf ( XNandPs * InstancePtr , u8 * Buf , u32 Length ) { u32 Index ; u32 AxiLen = Length >> 2 ; u32 * Ptr = ( u32 * ) Buf ; for ( Index = 0 ; Index < AxiLen ; Index ++ ) { Ptr [ Index ] = XNandPs_ReadReg ( InstancePtr -> DataPhaseAddr ) ; } }
This function reads the page data from the AXI Data Phase Address.
This function reads the page data from the AXI Data Phase Address .