lib/sw_services/xilisf/examples/xilisf_ospipsv_stm_intr_example.c
void XilIsf_Handler(void *CallBackRef, u32 StatusEvent)
{
	/*
	 * Indicate the transfer on the OSPI bus is no longer in progress
	 * regardless of the status event
	 */
	TransferInProgress = FALSE;

	/*
	 * If the event was not transfer done, then track it as an error
	 */
	if (StatusEvent != XST_SPI_TRANSFER_DONE) {
		ErrorCount++;
	}
}
/*****************************************************************************/
/**
* This function is the handler which performs processing for the OSPIPSV driver.
* It is called from an interrupt context such that the amount of processing
* performed should be minimized.  It is called when a transfer of OSPI data
* completes or an error occurs.
*
* This handler provides an example of how to handle OSPIPSV interrupts but is
* application specific.
*
* @param	CallBackRef is a reference passed to the handler.
* @param	StatusEvent is the status of the OSPIPSV .
* @param	ByteCount is the number of bytes transferred.
*
* @return	None
*
* @note		None.
*
******************************************************************************/
This function is the handler which performs processing for the OSPIPSV driver.
It is called from an interrupt context such that the amount of processing
performed should be minimized.  It is called when a transfer of OSPI data
completes or an error occurs.

This handler provides an example of how to handle OSPIPSV interrupts but is
application specific.
This function is the handler which performs processing for the OSPIPSV driver . It is called from an interrupt context such that the amount of processing performed should be minimized . It is called when a transfer of OSPI data completes or an error occurs . This handler provides an example of how to handle OSPIPSV interrupts but is application specific .
void XilIsf_Handler(void *CallBackRef, u32 StatusEvent)
{
	TransferInProgress = FALSE;
	if (StatusEvent != XST_SPI_TRANSFER_DONE) {
		ErrorCount++;
	}
}
void XilIsf_Handler ( void * CallBackRef , u32 StatusEvent ) { TransferInProgress = FALSE ; if ( StatusEvent != XST_SPI_TRANSFER_DONE ) { ErrorCount ++ ; } }
This function is the handler which performs processing for the OSPIPSV driver.
This function is the handler which performs processing for the OSPIPSV driver .
/*
	 * Indicate the transfer on the OSPI bus is no longer in progress
	 * regardless of the status event
	 */ /*
	 * If the event was not transfer done, then track it as an error
	 */