XilinxProcessorIPLib/drivers/v_mix/src/xv_mix_l2_intr.c
void XVMix_InterruptHandler(void *InstancePtr)
{
  XV_Mix_l2 *MixPtr = (XV_Mix_l2 *)InstancePtr;
  u32 Status;

  /* Verify arguments */
  Xil_AssertVoid(MixPtr != NULL);
  Xil_AssertVoid(MixPtr->Mix.IsReady == XIL_COMPONENT_IS_READY);

  /* Get the interrupt source */
  Status = XV_mix_InterruptGetStatus(&MixPtr->Mix);

  /* Clear the interrupt */
  XV_mix_InterruptClear(&MixPtr->Mix, XVMIX_IRQ_DONE_MASK);

  /* Check for Done Signal */
  if(Status & XVMIX_IRQ_DONE_MASK) {
    //Call user registered callback function, if any
    if(MixPtr->FrameDoneCallback) {
	      MixPtr->FrameDoneCallback(MixPtr->CallbackRef);
    }
    XV_mix_Start(&MixPtr->Mix);
  }
}
/*****************************************************************************/
/**
*
* This function is the interrupt handler for the mixer core driver.
*
* This handler clears the pending interrupt and determined if the source is
* frame done signal. If yes, starts the next frame processing and calls the
* registered callback function
*
* The application is responsible for connecting this function to the interrupt
* system. Application beyond this driver is also responsible for providing
* callbacks to handle interrupts and installing the callbacks using
* XVMix_SetCallback() during initialization phase.
*
* @param	InstancePtr is a pointer to the core instance that just
*		    interrupted.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function is the interrupt handler for the mixer core driver.
This handler clears the pending interrupt and determined if the source is
frame done signal. If yes, starts the next frame processing and calls the
registered callback function

The application is responsible for connecting this function to the interrupt
system. Application beyond this driver is also responsible for providing
callbacks to handle interrupts and installing the callbacks using
XVMix_SetCallback() during initialization phase.
This function is the interrupt handler for the mixer core driver . This handler clears the pending interrupt and determined if the source is frame done signal . If yes starts the next frame processing and calls the registered callback function The application is responsible for connecting this function to the interrupt system . Application beyond this driver is also responsible for providing callbacks to handle interrupts and installing the callbacks using XVMix_SetCallback () during initialization phase .
void XVMix_InterruptHandler(void *InstancePtr)
{
  XV_Mix_l2 *MixPtr = (XV_Mix_l2 *)InstancePtr;
  u32 Status;
  Xil_AssertVoid(MixPtr != NULL);
  Xil_AssertVoid(MixPtr->Mix.IsReady == XIL_COMPONENT_IS_READY);
  Status = XV_mix_InterruptGetStatus(&MixPtr->Mix);
  XV_mix_InterruptClear(&MixPtr->Mix, XVMIX_IRQ_DONE_MASK);
  if(Status & XVMIX_IRQ_DONE_MASK) {
    if(MixPtr->FrameDoneCallback) {
	      MixPtr->FrameDoneCallback(MixPtr->CallbackRef);
    }
    XV_mix_Start(&MixPtr->Mix);
  }
}
void XVMix_InterruptHandler ( void * InstancePtr ) { XV_Mix_l2 * MixPtr = ( XV_Mix_l2 * ) InstancePtr ; u32 Status ; Xil_AssertVoid ( MixPtr != NULL ) ; Xil_AssertVoid ( MixPtr -> Mix . IsReady == XIL_COMPONENT_IS_READY ) ; Status = XV_mix_InterruptGetStatus ( & MixPtr -> Mix ) ; XV_mix_InterruptClear ( & MixPtr -> Mix , XVMIX_IRQ_DONE_MASK ) ; if ( Status & XVMIX_IRQ_DONE_MASK ) { if ( MixPtr -> FrameDoneCallback ) { MixPtr -> FrameDoneCallback ( MixPtr -> CallbackRef ) ; } XV_mix_Start ( & MixPtr -> Mix ) ; } }
This function is the interrupt handler for the mixer core driver.
This function is the interrupt handler for the mixer core driver .
/* Verify arguments */ /* Get the interrupt source */ /* Clear the interrupt */ /* Check for Done Signal */ //Call user registered callback function, if any