XilinxProcessorIPLib/drivers/v_mix/src/xv_mix_l2_intr.c
int XVMix_SetCallback(XV_Mix_l2 *InstancePtr, void *CallbackFunc, void *CallbackRef)
{
  /* Verify arguments. */
  Xil_AssertNonvoid(InstancePtr != NULL);
  Xil_AssertNonvoid(CallbackFunc != NULL);
  Xil_AssertNonvoid(CallbackRef != NULL);

  InstancePtr->FrameDoneCallback = (XVMix_Callback)CallbackFunc;
  InstancePtr->CallbackRef = CallbackRef;

  return(XST_SUCCESS);
}
/*****************************************************************************/
/**
*
* This function installs an asynchronous callback function for Mixer interrupt
*
* @param    InstancePtr is a pointer to the mixer core 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
*         XST_SUCCESS if callback function installed successfully.
*
* @note   Invoking this function for a handler that already has been
*         installed replaces it with the new handler.
*
******************************************************************************/
This function installs an asynchronous callback function for Mixer interrupt
This function installs an asynchronous callback function for Mixer interrupt
int XVMix_SetCallback(XV_Mix_l2 *InstancePtr, void *CallbackFunc, void *CallbackRef)
{
  Xil_AssertNonvoid(InstancePtr != NULL);
  Xil_AssertNonvoid(CallbackFunc != NULL);
  Xil_AssertNonvoid(CallbackRef != NULL);
  InstancePtr->FrameDoneCallback = (XVMix_Callback)CallbackFunc;
  InstancePtr->CallbackRef = CallbackRef;
  return(XST_SUCCESS);
}
int XVMix_SetCallback ( XV_Mix_l2 * InstancePtr , void * CallbackFunc , void * CallbackRef ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( CallbackFunc != NULL ) ; Xil_AssertNonvoid ( CallbackRef != NULL ) ; InstancePtr -> FrameDoneCallback = ( XVMix_Callback ) CallbackFunc ; InstancePtr -> CallbackRef = CallbackRef ; return ( XST_SUCCESS ) ; }
This function installs an asynchronous callback function for Mixer interrupt
This function installs an asynchronous callback function for Mixer interrupt
/* Verify arguments. */