XilinxProcessorIPLib/drivers/v_scenechange/src/xv_scenechange_intr.c
void XV_scenechange_InterruptHandler(void *InstancePtr)
{
	XV_scenechange *SceneChangePtr = (XV_scenechange *)InstancePtr;
	u32 Status;

	/* Verify arguments */
	Xil_AssertVoid(SceneChangePtr != NULL);
	Xil_AssertVoid(SceneChangePtr->IsReady == XIL_COMPONENT_IS_READY);

	/* Get the interrupt source */
	Status = XV_scenechange_InterruptGetStatus(SceneChangePtr);

	/* Check for Done Signal */
	if (Status & XV_SCENECHANGE_CTRL_ADDR_ISR_AP_DONE) {

		XV_scenechange_handler(SceneChangePtr);

		/* Clear the interrupt */
		XV_scenechange_InterruptClear(SceneChangePtr,
				XV_SCENECHANGE_CTRL_ADDR_ISR_AP_DONE);
	}
}
/*****************************************************************************/
/**
 *
 * This function is the interrupt handler for the Scenechange core driver.
 *
 * This handler clears the pending interrupt and determined if the source is
 * frame done signal. If yes, starts the next scenechange 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 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 Scenechange core driver.
This handler clears the pending interrupt and determined if the source is
frame done signal. If yes, starts the next scenechange 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 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 Scenechange core driver . This handler clears the pending interrupt and determined if the source is frame done signal . If yes starts the next scenechange 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 during initialization phase . @param InstancePtr is a pointer to the core instance that just interrupted . @return None . @note None .
void XV_scenechange_InterruptHandler(void *InstancePtr)
{
	XV_scenechange *SceneChangePtr = (XV_scenechange *)InstancePtr;
	u32 Status;
	Xil_AssertVoid(SceneChangePtr != NULL);
	Xil_AssertVoid(SceneChangePtr->IsReady == XIL_COMPONENT_IS_READY);
	Status = XV_scenechange_InterruptGetStatus(SceneChangePtr);
	if (Status & XV_SCENECHANGE_CTRL_ADDR_ISR_AP_DONE) {
		XV_scenechange_handler(SceneChangePtr);
		XV_scenechange_InterruptClear(SceneChangePtr,
				XV_SCENECHANGE_CTRL_ADDR_ISR_AP_DONE);
	}
}
void XV_scenechange_InterruptHandler ( void * InstancePtr ) { XV_scenechange * SceneChangePtr = ( XV_scenechange * ) InstancePtr ; u32 Status ; Xil_AssertVoid ( SceneChangePtr != NULL ) ; Xil_AssertVoid ( SceneChangePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; Status = XV_scenechange_InterruptGetStatus ( SceneChangePtr ) ; if ( Status & XV_SCENECHANGE_CTRL_ADDR_ISR_AP_DONE ) { XV_scenechange_handler ( SceneChangePtr ) ; XV_scenechange_InterruptClear ( SceneChangePtr , XV_SCENECHANGE_CTRL_ADDR_ISR_AP_DONE ) ; } }
This function is the interrupt handler for the Scenechange core driver.
This function is the interrupt handler for the Scenechange core driver .
/* Verify arguments */ /* Get the interrupt source */ /* Check for Done Signal */ /* Clear the interrupt */