XilinxProcessorIPLib/drivers/vprocss/src/xvprocss.c
void XVprocSs_SetUserTimerHandler(XVprocSs *InstancePtr,
                                  XVidC_DelayHandler CallbackFunc,
                                  void *CallbackRef)
{
  /* Verify arguments */
  Xil_AssertVoid(InstancePtr != NULL);
  Xil_AssertVoid(CallbackFunc != NULL);
  Xil_AssertVoid(CallbackRef != NULL);

  InstancePtr->UsrDelayUs = CallbackFunc;
  InstancePtr->UsrTmrPtr  = CallbackRef;
}
/*****************************************************************************/
/**
* This function registers the user defined delay/sleep function with subsystem
*
* @param  InstancePtr is a pointer to the Subsystem instance
* @param  CallbackFunc is the function pointer to the user defined delay
*         function
* @param  CallbackRef is the pointer to timer instance used by the delay
*         function
*
* @return None
*
******************************************************************************/
This function registers the user defined delay/sleep function with subsystem
This function registers the user defined delay / sleep function with subsystem
void XVprocSs_SetUserTimerHandler(XVprocSs *InstancePtr,
                                  XVidC_DelayHandler CallbackFunc,
                                  void *CallbackRef)
{
  Xil_AssertVoid(InstancePtr != NULL);
  Xil_AssertVoid(CallbackFunc != NULL);
  Xil_AssertVoid(CallbackRef != NULL);
  InstancePtr->UsrDelayUs = CallbackFunc;
  InstancePtr->UsrTmrPtr  = CallbackRef;
}
void XVprocSs_SetUserTimerHandler ( XVprocSs * InstancePtr , XVidC_DelayHandler CallbackFunc , void * CallbackRef ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( CallbackFunc != NULL ) ; Xil_AssertVoid ( CallbackRef != NULL ) ; InstancePtr -> UsrDelayUs = CallbackFunc ; InstancePtr -> UsrTmrPtr = CallbackRef ; }
This function registers the user defined delay/sleep function with subsystem
This function registers the user defined delay / sleep function with subsystem
/* Verify arguments */