XilinxProcessorIPLib/drivers/hwicap/examples/xhwicap_intr_example.c
void HwIcapIntrHandler(void *CallBackRef, u32 StatusEvent, u32 ByteCount)
{
	/*
	 * Indicate the transfer between the HwIcap to the Icap device is done
	 * regardless of the status event.
	 */
	TransferInProgress = FALSE;

	/*
	 * If the event was not transfer done, then track it as an error.
	 */
	if (StatusEvent != XST_HWICAP_WRITE_DONE) {
		Error++;
	}
}
/*****************************************************************************/
/**
*
* This function is the handler which performs processing for the HwIcap 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 HwIcap data
* completes or an error occurs.
*
* This handler provides an example of how to handle HwIcap interrupts and
* is application specific.
*
* @param	CallBackRef is the upper layer callback reference passed back
*		when the callback function is invoked.
* @param	StatusEvent is the event that just occurred.
* @param	WordCount is the number of words (32 bit) transferred up until
*		the event occurred.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function is the handler which performs processing for the HwIcap 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 HwIcap data
completes or an error occurs.

This handler provides an example of how to handle HwIcap interrupts and
is application specific.
This function is the handler which performs processing for the HwIcap 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 HwIcap data completes or an error occurs . This handler provides an example of how to handle HwIcap interrupts and is application specific .
void HwIcapIntrHandler(void *CallBackRef, u32 StatusEvent, u32 ByteCount)
{
	TransferInProgress = FALSE;
	if (StatusEvent != XST_HWICAP_WRITE_DONE) {
		Error++;
	}
}
void HwIcapIntrHandler ( void * CallBackRef , u32 StatusEvent , u32 ByteCount ) { TransferInProgress = FALSE ; if ( StatusEvent != XST_HWICAP_WRITE_DONE ) { Error ++ ; } }
This function is the handler which performs processing for the HwIcap driver.
This function is the handler which performs processing for the HwIcap driver .
/*
	 * Indicate the transfer between the HwIcap to the Icap device is done
	 * regardless of the status event.
	 */ /*
	 * If the event was not transfer done, then track it as an error.
	 */