XilinxProcessorIPLib/drivers/intc/src/xintc_l.c
void XIntc_SetIntrSvcOption(UINTPTR BaseAddress, int Option)
{
	XIntc_Config *CfgPtr;

	CfgPtr = LookupConfigByBaseAddress(BaseAddress);
	if (CfgPtr != NULL) {
		CfgPtr->Options = Option;
		/* If Cascade mode set the option for all Slaves */
		if (CfgPtr->IntcType != XIN_INTC_NOCASCADE) {
			int Index;
			for (Index = 1; Index <= XPAR_XINTC_NUM_INSTANCES - 1;
					Index++) {
				CfgPtr = XIntc_LookupConfig(Index);
				CfgPtr->Options = Option;
			}
		}
	}
}
/*****************************************************************************/
/**
*
* Set the interrupt service option, which can configure the driver so that it
* services only a single interrupt at a time when an interrupt occurs, or
* services all pending interrupts when an interrupt occurs. The default
* behavior when using the driver interface given in xintc.h file is to service
* only a single interrupt, whereas the default behavior when using the driver
* interface given in this file is to service all outstanding interrupts when an
* interrupt occurs. In Cascade mode same Option is set to Slave controllers.
*
* @param	BaseAddress is the unique identifier for a device.
* @param 	Option is XIN_SVC_SGL_ISR_OPTION if you want only a single
*		interrupt serviced when an interrupt occurs, or
*		XIN_SVC_ALL_ISRS_OPTION if you want all pending interrupts
*		serviced when an interrupt occurs.
*
* @return	None.
*
* @note
*
* Note that this function has no effect if the input base address is invalid.
*
******************************************************************************/
Set the interrupt service option, which can configure the driver so that it
services only a single interrupt at a time when an interrupt occurs, or
services all pending interrupts when an interrupt occurs. The default
behavior when using the driver interface given in xintc.h file is to service
only a single interrupt, whereas the default behavior when using the driver
interface given in this file is to service all outstanding interrupts when an
interrupt occurs. In Cascade mode same Option is set to Slave controllers.
Set the interrupt service option which can configure the driver so that it services only a single interrupt at a time when an interrupt occurs or services all pending interrupts when an interrupt occurs . The default behavior when using the driver interface given in xintc . h file is to service only a single interrupt whereas the default behavior when using the driver interface given in this file is to service all outstanding interrupts when an interrupt occurs . In Cascade mode same Option is set to Slave controllers .
void XIntc_SetIntrSvcOption(UINTPTR BaseAddress, int Option)
{
	XIntc_Config *CfgPtr;
	CfgPtr = LookupConfigByBaseAddress(BaseAddress);
	if (CfgPtr != NULL) {
		CfgPtr->Options = Option;
		if (CfgPtr->IntcType != XIN_INTC_NOCASCADE) {
			int Index;
			for (Index = 1; Index <= XPAR_XINTC_NUM_INSTANCES - 1;
					Index++) {
				CfgPtr = XIntc_LookupConfig(Index);
				CfgPtr->Options = Option;
			}
		}
	}
}
void XIntc_SetIntrSvcOption ( UINTPTR BaseAddress , int Option ) { XIntc_Config * CfgPtr ; CfgPtr = LookupConfigByBaseAddress ( BaseAddress ) ; if ( CfgPtr != NULL ) { CfgPtr -> Options = Option ; if ( CfgPtr -> IntcType != XIN_INTC_NOCASCADE ) { int Index ; for ( Index = 1 ; Index <= XPAR_XINTC_NUM_INSTANCES - 1 ; Index ++ ) { CfgPtr = XIntc_LookupConfig ( Index ) ; CfgPtr -> Options = Option ; } } } }
Set the interrupt service option, which can configure the driver so that it
services only a single interrupt at a time when an interrupt occurs, or
services all pending interrupts when an interrupt occurs.
Set the interrupt service option which can configure the driver so that it services only a single interrupt at a time when an interrupt occurs or services all pending interrupts when an interrupt occurs .
/* If Cascade mode set the option for all Slaves */