XilinxProcessorIPLib/drivers/dual_splitter/src/xdualsplitter_intr.c
void XDualSplitter_SetCallback(XDualSplitter *InstancePtr,
				void *CallbackFunc, void *CallbackRef)
{
	/* Verify arguments. */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(CallbackFunc != NULL);
	Xil_AssertVoid(CallbackRef != NULL);

	/* sets user provided callback and callback reference */
	InstancePtr->ErrCallback =
			(XDualSplitter_ErrCallback)CallbackFunc;
	InstancePtr->ErrRef = CallbackRef;
}
/*****************************************************************************/
/**
*
* This function installs an asynchronous callback function.
*
* @param	InstancePtr is a pointer to the XDualSplitter core instance.
* @param	CallbackFunc is the address of the callback function.
* @param	CallbackRef is a user data item that will be passed to the
*		callback function when it is invoked.
*
* @return	None.
*
* @note		Invoking this function for a callback that already has been
*		installed replaces it with the new callback.
*
******************************************************************************/
This function installs an asynchronous callback function.
This function installs an asynchronous callback function .
void XDualSplitter_SetCallback(XDualSplitter *InstancePtr,
				void *CallbackFunc, void *CallbackRef)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(CallbackFunc != NULL);
	Xil_AssertVoid(CallbackRef != NULL);
	InstancePtr->ErrCallback =
			(XDualSplitter_ErrCallback)CallbackFunc;
	InstancePtr->ErrRef = CallbackRef;
}
void XDualSplitter_SetCallback ( XDualSplitter * InstancePtr , void * CallbackFunc , void * CallbackRef ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; Xil_AssertVoid ( CallbackFunc != NULL ) ; Xil_AssertVoid ( CallbackRef != NULL ) ; InstancePtr -> ErrCallback = ( XDualSplitter_ErrCallback ) CallbackFunc ; InstancePtr -> ErrRef = CallbackRef ; }
This function installs an asynchronous callback function.
This function installs an asynchronous callback function .
/* Verify arguments. */ /* sets user provided callback and callback reference */