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

	return XGpio_ReadReg(InstancePtr->BaseAddress, XGPIO_IER_OFFSET);
}
/****************************************************************************/
/**
* Returns the interrupt enable mask. 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	A mask of bits made from XGPIO_IR* bits which are contained in
*		xgpio_l.h.
*
* @return	None.
*
* @note		None.
*
*****************************************************************************/
Returns the interrupt enable mask. This function will assert if the
hardware device has not been built with interrupt capabilities.
Returns the interrupt enable mask . This function will assert if the hardware device has not been built with interrupt capabilities .
u32 XGpio_InterruptGetEnabled(XGpio * InstancePtr)
{
	Xil_AssertNonvoid(InstancePtr != NULL);
	Xil_AssertNonvoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertNonvoid(InstancePtr->InterruptPresent == TRUE);
	return XGpio_ReadReg(InstancePtr->BaseAddress, XGPIO_IER_OFFSET);
}
u32 XGpio_InterruptGetEnabled ( XGpio * InstancePtr ) { Xil_AssertNonvoid ( InstancePtr != NULL ) ; Xil_AssertNonvoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; Xil_AssertNonvoid ( InstancePtr -> InterruptPresent == TRUE ) ; return XGpio_ReadReg ( InstancePtr -> BaseAddress , XGPIO_IER_OFFSET ) ; }
Returns the interrupt enable mask.
Returns the interrupt enable mask .