lib/sw_services/xilisf/examples/xilisf_spips_sst_polled_example.c
int WriteEnable(XIsf *InstancePtr)
{
	int Status = XST_FAILURE;

	/*
	 * Perform the Write Enable operation.
	 */
	Status = XIsf_WriteEnable(&Isf, XISF_WRITE_ENABLE);
	if(Status != XST_SUCCESS) {
		return XST_FAILURE;
	}

	/*
	 * Wait till the Flash is not Busy.
	 */
	Status = IsfWaitForFlashNotBusy();
	if(Status != XST_SUCCESS) {
		return XST_FAILURE;
	}
	return XST_SUCCESS;
}
/*****************************************************************************/
/**
*
* This function performs the write enable operation.
*
* @param	InstancePtr is a pointer to the XIsf component to use.
*
* @return	XST_SUCCESS if successful else XST_FAILURE.
*
*
******************************************************************************/
This function performs the write enable operation.
This function performs the write enable operation .
int WriteEnable(XIsf *InstancePtr)
{
	int Status = XST_FAILURE;
	Status = XIsf_WriteEnable(&Isf, XISF_WRITE_ENABLE);
	if(Status != XST_SUCCESS) {
		return XST_FAILURE;
	}
	Status = IsfWaitForFlashNotBusy();
	if(Status != XST_SUCCESS) {
		return XST_FAILURE;
	}
	return XST_SUCCESS;
}
int WriteEnable ( XIsf * InstancePtr ) { int Status = XST_FAILURE ; Status = XIsf_WriteEnable ( & Isf , XISF_WRITE_ENABLE ) ; if ( Status != XST_SUCCESS ) { return XST_FAILURE ; } Status = IsfWaitForFlashNotBusy ( ) ; if ( Status != XST_SUCCESS ) { return XST_FAILURE ; } return XST_SUCCESS ; }
This function performs the write enable operation.
This function performs the write enable operation .
/*
	 * Perform the Write Enable operation.
	 */ /*
	 * Wait till the Flash is not Busy.
	 */