XilinxProcessorIPLib/drivers/v_hdmiphy1/src/xhdmiphy1.c
void XHdmiphy1_SetErrorCallback(XHdmiphy1 *InstancePtr,
		void *CallbackFunc, void *CallbackRef)
{
	/* Verify arguments. */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(CallbackFunc != NULL);
	Xil_AssertVoid(CallbackRef != NULL);

	InstancePtr->ErrorCallback = (XHdmiphy1_ErrorCallback)CallbackFunc;
	InstancePtr->ErrorRef = CallbackRef;
}
/*****************************************************************************/
/**
* This function installs a callback function for the HDMIPHY error conditions
*
* @param	InstancePtr is a pointer to the XHdmiphy1 instance.
* @param	CallbackFunc is the address to the callback function.
* @param	CallbackRef is the user data item that will be passed to the
*		callback function when it is invoked.
*
* @return	None.
*
* @note		The XHdmiphy1_ErrorHandler API calls the registered function in
* 			  ErrorCallback and passes two arguments: 1) CallbackRef
* 			  2) Error Type as defined by XHdmiphy1_ErrType.
*
* 			Sample Function Call:
* 				CallbackFunc(CallbackRef, XHdmiphy1_ErrType);
*
******************************************************************************/
This function installs a callback function for the HDMIPHY error conditions
This function installs a callback function for the HDMIPHY error conditions
void XHdmiphy1_SetErrorCallback(XHdmiphy1 *InstancePtr,
		void *CallbackFunc, void *CallbackRef)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(CallbackFunc != NULL);
	Xil_AssertVoid(CallbackRef != NULL);
	InstancePtr->ErrorCallback = (XHdmiphy1_ErrorCallback)CallbackFunc;
	InstancePtr->ErrorRef = CallbackRef;
}
void XHdmiphy1_SetErrorCallback ( XHdmiphy1 * InstancePtr , void * CallbackFunc , void * CallbackRef ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( CallbackFunc != NULL ) ; Xil_AssertVoid ( CallbackRef != NULL ) ; InstancePtr -> ErrorCallback = ( XHdmiphy1_ErrorCallback ) CallbackFunc ; InstancePtr -> ErrorRef = CallbackRef ; }
This function installs a callback function for the HDMIPHY error conditions
This function installs a callback function for the HDMIPHY error conditions
/* Verify arguments. */