XilinxProcessorIPLib/drivers/axiethernet/examples/xaxiethernet_example_intr_fifo.c
static void AxiEthernetDisableIntrSystem(INTC *IntcInstancePtr,
				   u16 AxiEthernetIntrId, u16 FifoIntrId)
{
#ifdef XPAR_INTC_0_DEVICE_ID
	/*
	 * Disconnect and disable the interrupt for the AxiEthernet device
	 */
	XIntc_Disconnect(IntcInstancePtr, AxiEthernetIntrId);
	/*
	 * Disconnect and disable the interrupt for the Fifo device
	 */
	XIntc_Disconnect(IntcInstancePtr, FifoIntrId);

#else
	/*
	 * Disconnect and disable the interrupt for the AxiEthernet device
	 */
	XScuGic_Disconnect(IntcInstancePtr, AxiEthernetIntrId);
	/*
	 * Disconnect and disable the interrupt for the Fifo device
	 */
	XScuGic_Disconnect(IntcInstancePtr, FifoIntrId);
#endif
}
/*****************************************************************************/
/**
*
* This function disables the interrupts that occur for AxiEthernet.
*
* @param	IntcInstancePtr is a pointer to the instance of the Intc
*		component.
* @param	AxiEthernetIntrId is the Interrupt ID and is typically
*		XPAR_<INTC_instance>_<AXIETHERNET_instance>_VEC_ID
*		value from xparameters.h.
* @param	FifoIntrId is the interrupt id for fifo.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function disables the interrupts that occur for AxiEthernet.
This function disables the interrupts that occur for AxiEthernet .
static void AxiEthernetDisableIntrSystem(INTC *IntcInstancePtr,
				   u16 AxiEthernetIntrId, u16 FifoIntrId)
{
#ifdef XPAR_INTC_0_DEVICE_ID
	XIntc_Disconnect(IntcInstancePtr, AxiEthernetIntrId);
	XIntc_Disconnect(IntcInstancePtr, FifoIntrId);
#else
	XScuGic_Disconnect(IntcInstancePtr, AxiEthernetIntrId);
	XScuGic_Disconnect(IntcInstancePtr, FifoIntrId);
#endif
}
static void AxiEthernetDisableIntrSystem ( INTC * IntcInstancePtr , u16 AxiEthernetIntrId , u16 FifoIntrId ) { #ifdef XPAR_INTC_0_DEVICE_ID XIntc_Disconnect ( IntcInstancePtr , AxiEthernetIntrId ) ; XIntc_Disconnect ( IntcInstancePtr , FifoIntrId ) ; #else XScuGic_Disconnect ( IntcInstancePtr , AxiEthernetIntrId ) ; XScuGic_Disconnect ( IntcInstancePtr , FifoIntrId ) ; #endif }
This function disables the interrupts that occur for AxiEthernet.
This function disables the interrupts that occur for AxiEthernet .
/*
	 * Disconnect and disable the interrupt for the AxiEthernet device
	 */ /*
	 * Disconnect and disable the interrupt for the Fifo device
	 */ /*
	 * Disconnect and disable the interrupt for the AxiEthernet device
	 */ /*
	 * Disconnect and disable the interrupt for the Fifo device
	 */