XilinxProcessorIPLib/drivers/vphy/src/xvphy.c
void XVphy_SetPllLayoutErrorCallback(XVphy *InstancePtr,
		void *CallbackFunc, void *CallbackRef)
{
	/* Verify arguments. */
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(CallbackFunc != NULL);
	Xil_AssertVoid(CallbackRef != NULL);

	InstancePtr->PllLayoutErrorCallback = (XVphy_ErrorCallback)CallbackFunc;
	InstancePtr->PllLayoutErrorRef = CallbackRef;
}
/******************************************************************************/
/**
* This function installs a callback function for the VPHY PLL Layout error
* conditions
*
* @param	InstancePtr is a pointer to the XVPhy 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 XVphy_ErrorHandler API calls the registered function in
* 			  ErrorCallback and passes two arguments: 1) CallbackRef
* 			  2) Error Type as defined by XVphy_ErrType.
*
* 			Sample Function Call:
* 				CallbackFunc(CallbackRef, XVphy_ErrType);
*
*******************************************************************************/
This function installs a callback function for the VPHY PLL Layout error
conditions
This function installs a callback function for the VPHY PLL Layout error conditions
void XVphy_SetPllLayoutErrorCallback(XVphy *InstancePtr,
		void *CallbackFunc, void *CallbackRef)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(CallbackFunc != NULL);
	Xil_AssertVoid(CallbackRef != NULL);
	InstancePtr->PllLayoutErrorCallback = (XVphy_ErrorCallback)CallbackFunc;
	InstancePtr->PllLayoutErrorRef = CallbackRef;
}
void XVphy_SetPllLayoutErrorCallback ( XVphy * InstancePtr , void * CallbackFunc , void * CallbackRef ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( CallbackFunc != NULL ) ; Xil_AssertVoid ( CallbackRef != NULL ) ; InstancePtr -> PllLayoutErrorCallback = ( XVphy_ErrorCallback ) CallbackFunc ; InstancePtr -> PllLayoutErrorRef = CallbackRef ; }
This function installs a callback function for the VPHY PLL Layout error
conditions
This function installs a callback function for the VPHY PLL Layout error conditions
/* Verify arguments. */