XilinxProcessorIPLib/drivers/v_multi_scaler/examples/xv_multi_scaler_example.c
void *XVMultiScalerCallback(void *data)
{
	xil_printf("\nMultiScaler interrupt received.\r\n");

	/* clear interrupt flag */
	interrupt_flag = 0;

	XV_multi_scaler_InterruptGlobalDisable(&MultiScalerInst);
	XV_multi_scaler_InterruptDisable(&MultiScalerInst, 0xF);
	XV_MultiScalerStop(&MultiScalerInst);
}
/*****************************************************************************/
/**
 *
 * This function is called from the interrupt handler of multiscaler core.
 * After the first interrupt is received the interrupt_flag is set here and
 * it stops the multi scaler core.
 *
 * @return
 *
 * @note	This function assumes a Microblaze or ARM system and no
 *	operating system is used.
 *
 ******************************************************************************/
This function is called from the interrupt handler of multiscaler core.
After the first interrupt is received the interrupt_flag is set here and
it stops the multi scaler core.

@return

@note        This function assumes a Microblaze or ARM system and no
operating system is used.
This function is called from the interrupt handler of multiscaler core . After the first interrupt is received the interrupt_flag is set here and it stops the multi scaler core . @return @note This function assumes a Microblaze or ARM system and no operating system is used .
void *XVMultiScalerCallback(void *data)
{
	xil_printf("\nMultiScaler interrupt received.\r\n");
	interrupt_flag = 0;
	XV_multi_scaler_InterruptGlobalDisable(&MultiScalerInst);
	XV_multi_scaler_InterruptDisable(&MultiScalerInst, 0xF);
	XV_MultiScalerStop(&MultiScalerInst);
}
void * XVMultiScalerCallback ( void * data ) { xil_printf ( " \n \r \n " ) ; interrupt_flag = 0 ; XV_multi_scaler_InterruptGlobalDisable ( & MultiScalerInst ) ; XV_multi_scaler_InterruptDisable ( & MultiScalerInst , 0xF ) ; XV_MultiScalerStop ( & MultiScalerInst ) ; }
This function is called from the interrupt handler of multiscaler core.
This function is called from the interrupt handler of multiscaler core .
/* clear interrupt flag */