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

	InstancePtr->UserTimerWaitUs = CallbackFunc;
	InstancePtr->UserTimerPtr = CallbackRef;
}
/******************************************************************************/
/*
* This function installs a custom delay/sleep function to be used by the XVphy
* driver.
*
* @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 (microseconds to delay) that
*		will be passed to the custom sleep/delay function when it is
*		invoked.
*
* @return	None.
*
* @note		None.
*
*******************************************************************************/
This function installs a custom delay/sleep function to be used by the XVphy
driver.
This function installs a custom delay / sleep function to be used by the XVphy driver .
void XVphy_SetUserTimerHandler(XVphy *InstancePtr,
		XVphy_TimerHandler CallbackFunc, void *CallbackRef)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(CallbackFunc != NULL);
	Xil_AssertVoid(CallbackRef != NULL);
	InstancePtr->UserTimerWaitUs = CallbackFunc;
	InstancePtr->UserTimerPtr = CallbackRef;
}
void XVphy_SetUserTimerHandler ( XVphy * InstancePtr , XVphy_TimerHandler CallbackFunc , void * CallbackRef ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( CallbackFunc != NULL ) ; Xil_AssertVoid ( CallbackRef != NULL ) ; InstancePtr -> UserTimerWaitUs = CallbackFunc ; InstancePtr -> UserTimerPtr = CallbackRef ; }
This function installs a custom delay/sleep function to be used by the XVphy
driver.
This function installs a custom delay / sleep function to be used by the XVphy driver .
/* Verify arguments. */