XilinxProcessorIPLib/drivers/hwicap/src/xhwicap_intr.c
void XHwIcap_SetInterruptHandler(XHwIcap * InstancePtr, void *CallBackRef,
			   		XHwIcap_StatusHandler FuncPtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(FuncPtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);

	InstancePtr->StatusHandler = FuncPtr;
	InstancePtr->StatusRef = CallBackRef;
}
/*****************************************************************************/
/**
*
* Sets the status callback function, the status handler, which the driver calls
* when it encounters conditions that should be reported to the higher layer
* software. The handler executes in an interrupt context, so it must minimize
* the amount of processing performed such as transferring data to a thread
* context. One of the following status events is passed to the status handler.
* <pre>
*
* </pre>
* @param	InstancePtr is a pointer to the XHwIcap instance.
* @param	CallBackRef is the upper layer callback reference passed back
*		when the callback function is invoked.
* @param	FuncPtr is the pointer to the callback function.
*
* @return	None.
*
* @note
*
* The handler is called within interrupt context, so it should do its work
* quickly and queue potentially time-consuming work to a task-level thread.
*
******************************************************************************/
Sets the status callback function, the status handler, which the driver calls
when it encounters conditions that should be reported to the higher layer
software. The handler executes in an interrupt context, so it must minimize
the amount of processing performed such as transferring data to a thread
context. One of the following status events is passed to the status handler.


Sets the status callback function the status handler which the driver calls when it encounters conditions that should be reported to the higher layer software . The handler executes in an interrupt context so it must minimize the amount of processing performed such as transferring data to a thread context . One of the following status events is passed to the status handler .
void XHwIcap_SetInterruptHandler(XHwIcap * InstancePtr, void *CallBackRef,
			   		XHwIcap_StatusHandler FuncPtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(FuncPtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	InstancePtr->StatusHandler = FuncPtr;
	InstancePtr->StatusRef = CallBackRef;
}
void XHwIcap_SetInterruptHandler ( XHwIcap * InstancePtr , void * CallBackRef , XHwIcap_StatusHandler FuncPtr ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( FuncPtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; InstancePtr -> StatusHandler = FuncPtr ; InstancePtr -> StatusRef = CallBackRef ; }
Sets the status callback function, the status handler, which the driver calls
when it encounters conditions that should be reported to the higher layer
software.
Sets the status callback function the status handler which the driver calls when it encounters conditions that should be reported to the higher layer software .