XilinxProcessorIPLib/drivers/gpio/src/xgpio_intr.c
void XGpio_InterruptGlobalDisable(XGpio *InstancePtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(InstancePtr->InterruptPresent == TRUE);


	XGpio_WriteReg(InstancePtr->BaseAddress, XGPIO_GIE_OFFSET, 0x0);

}
/****************************************************************************/
/**
* Disable the interrupt output signal. Interrupts enabled through
* XGpio_InterruptEnable() will no longer be passed through until the global
* enable bit is set by XGpio_InterruptGlobalEnable(). This function is
* designed to allow all interrupts (both channels) to be disabled easily for
* entering a critical section. This function will assert if the hardware
* device has not been built with interrupt capabilities.
*
* @param	InstancePtr is the GPIO instance to operate on.
*
* @return	None.
*
* @note		None.
*
*****************************************************************************/
Disable the interrupt output signal. Interrupts enabled through
XGpio_InterruptEnable() will no longer be passed through until the global
enable bit is set by XGpio_InterruptGlobalEnable(). This function is
designed to allow all interrupts (both channels) to be disabled easily for
entering a critical section. This function will assert if the hardware
device has not been built with interrupt capabilities.
Disable the interrupt output signal . Interrupts enabled through XGpio_InterruptEnable () will no longer be passed through until the global enable bit is set by XGpio_InterruptGlobalEnable () . This function is designed to allow all interrupts ( both channels ) to be disabled easily for entering a critical section . This function will assert if the hardware device has not been built with interrupt capabilities .
void XGpio_InterruptGlobalDisable(XGpio *InstancePtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(InstancePtr->InterruptPresent == TRUE);
	XGpio_WriteReg(InstancePtr->BaseAddress, XGPIO_GIE_OFFSET, 0x0);
}
void XGpio_InterruptGlobalDisable ( XGpio * InstancePtr ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; Xil_AssertVoid ( InstancePtr -> InterruptPresent == TRUE ) ; XGpio_WriteReg ( InstancePtr -> BaseAddress , XGPIO_GIE_OFFSET , 0x0 ) ; }
Disable the interrupt output signal.
Disable the interrupt output signal .