XilinxProcessorIPLib/drivers/gpio/src/xgpio_intr.c
void XGpio_InterruptDisable(XGpio *InstancePtr, u32 Mask)
{
	u32 Register;

	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(InstancePtr->InterruptPresent == TRUE);

	/*
	 * Read the interrupt enable register and only disable the specified
	 * interrupts without enabling or disabling any others.
	 */
	Register = XGpio_ReadReg(InstancePtr->BaseAddress, XGPIO_IER_OFFSET);
	XGpio_WriteReg(InstancePtr->BaseAddress, XGPIO_IER_OFFSET,
			Register & (~Mask));

}
/****************************************************************************/
/**
* Disable interrupts. This function allows specific interrupts for each
* channel to be disabled. This function will assert if the hardware device
* has not been built with interrupt capabilities.
*
* @param	InstancePtr is the GPIO instance to operate on.
* @param 	Mask is the mask to disable. Bits set to 1 are disabled. This
*		mask is formed by OR'ing bits from XGPIO_IR* bits which are
*		contained in xgpio_l.h.
*
* @return	None.
*
* @note		None.
*
*****************************************************************************/
Disable interrupts. This function allows specific interrupts for each
channel to be disabled. This function will assert if the hardware device
has not been built with interrupt capabilities.
Disable interrupts . This function allows specific interrupts for each channel to be disabled . This function will assert if the hardware device has not been built with interrupt capabilities .
void XGpio_InterruptDisable(XGpio *InstancePtr, u32 Mask)
{
	u32 Register;
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(InstancePtr->InterruptPresent == TRUE);
	Register = XGpio_ReadReg(InstancePtr->BaseAddress, XGPIO_IER_OFFSET);
	XGpio_WriteReg(InstancePtr->BaseAddress, XGPIO_IER_OFFSET,
			Register & (~Mask));
}
void XGpio_InterruptDisable ( XGpio * InstancePtr , u32 Mask ) { u32 Register ; Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; Xil_AssertVoid ( InstancePtr -> InterruptPresent == TRUE ) ; Register = XGpio_ReadReg ( InstancePtr -> BaseAddress , XGPIO_IER_OFFSET ) ; XGpio_WriteReg ( InstancePtr -> BaseAddress , XGPIO_IER_OFFSET , Register & ( ~ Mask ) ) ; }
Disable interrupts.
Disable interrupts .
/*
	 * Read the interrupt enable register and only disable the specified
	 * interrupts without enabling or disabling any others.
	 */