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

	InstancePtr->LogWriteCallback = (XHdmiphy1_LogCallback)CallbackFunc;
	InstancePtr->LogWriteRef = CallbackRef;
}
/*****************************************************************************/
/**
*
* This function installs an asynchronous callback function for the LogWrite
* API:
*
* @param    InstancePtr is a pointer to the XHdmiphy1 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.
*
******************************************************************************/
This function installs an asynchronous callback function for the LogWrite
API.
This function installs an asynchronous callback function for the LogWrite API .
void XHdmiphy1_SetLogCallback(XHdmiphy1 *InstancePtr,
		u64 *CallbackFunc, void *CallbackRef)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(CallbackFunc != NULL);
	Xil_AssertVoid(CallbackRef != NULL);
	InstancePtr->LogWriteCallback = (XHdmiphy1_LogCallback)CallbackFunc;
	InstancePtr->LogWriteRef = CallbackRef;
}
void XHdmiphy1_SetLogCallback ( XHdmiphy1 * InstancePtr , u64 * CallbackFunc , void * CallbackRef ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( CallbackFunc != NULL ) ; Xil_AssertVoid ( CallbackRef != NULL ) ; InstancePtr -> LogWriteCallback = ( XHdmiphy1_LogCallback ) CallbackFunc ; InstancePtr -> LogWriteRef = CallbackRef ; }
This function installs an asynchronous callback function for the LogWrite
API:
This function installs an asynchronous callback function for the LogWrite API :
/* Verify arguments. */