XilinxProcessorIPLib/drivers/axipcie/src/xaxipcie_intr.c
void XAxiPcie_GetEnabledInterrupts(XAxiPcie *InstancePtr, u32 *EnabledMaskPtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(EnabledMaskPtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);


	*EnabledMaskPtr = XAxiPcie_ReadReg(InstancePtr->Config.BaseAddress,
							XAXIPCIE_IM_OFFSET);

}
/*****************************************************************************/
/**
* Get the currently enabled interrupt bits of the IP and pass them back
* to the caller into "EnabledMask".
*
* @param 	InstancePtr is the XAxiPcie instance to operate on.
* @param 	EnabledMaskPtr is a pointer to a variable where the driver will
*        	pass back the enabled interrupt bits after reading them from IP.
*
* @return 	None.
*
* @note 	None.
*
******************************************************************************/
Get the currently enabled interrupt bits of the IP and pass them back
to the caller into "EnabledMask".
Get the currently enabled interrupt bits of the IP and pass them back to the caller into " EnabledMask " .
void XAxiPcie_GetEnabledInterrupts(XAxiPcie *InstancePtr, u32 *EnabledMaskPtr)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(EnabledMaskPtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	*EnabledMaskPtr = XAxiPcie_ReadReg(InstancePtr->Config.BaseAddress,
							XAXIPCIE_IM_OFFSET);
}
void XAxiPcie_GetEnabledInterrupts ( XAxiPcie * InstancePtr , u32 * EnabledMaskPtr ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( EnabledMaskPtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; * EnabledMaskPtr = XAxiPcie_ReadReg ( InstancePtr -> Config . BaseAddress , XAXIPCIE_IM_OFFSET ) ; }
Get the currently enabled interrupt bits of the IP and pass them back
to the caller into "EnabledMask".
Get the currently enabled interrupt bits of the IP and pass them back to the caller into " EnabledMask " .