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


	XAxiPcie_WriteReg((InstancePtr->Config.BaseAddress), XAXIPCIE_ID_OFFSET,
			XAxiPcie_ReadReg((InstancePtr->Config.BaseAddress),
				XAXIPCIE_ID_OFFSET) & (ClearMask));
}
/*****************************************************************************/
/**
* Clear the currently pending interrupt bits of the IP passed from
* the caller into "ClearMask".
*
* @param 	InstancePtr is the XAxiPcie instance to operate on.
* @param 	ClearMask is the bit pattern for pending interrupts wanted to
* 		be cleared.
*
* @return 	None.
*
* @note 	None.
*
******************************************************************************/
Clear the currently pending interrupt bits of the IP passed from
the caller into "ClearMask".
Clear the currently pending interrupt bits of the IP passed from the caller into " ClearMask " .
void XAxiPcie_ClearPendingInterrupts(XAxiPcie *InstancePtr, u32 ClearMask)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	XAxiPcie_WriteReg((InstancePtr->Config.BaseAddress), XAXIPCIE_ID_OFFSET,
			XAxiPcie_ReadReg((InstancePtr->Config.BaseAddress),
				XAXIPCIE_ID_OFFSET) & (ClearMask));
}
void XAxiPcie_ClearPendingInterrupts ( XAxiPcie * InstancePtr , u32 ClearMask ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; XAxiPcie_WriteReg ( ( InstancePtr -> Config . BaseAddress ) , XAXIPCIE_ID_OFFSET , XAxiPcie_ReadReg ( ( InstancePtr -> Config . BaseAddress ) , XAXIPCIE_ID_OFFSET ) & ( ClearMask ) ) ; }
Clear the currently pending interrupt bits of the IP passed from
the caller into "ClearMask".
Clear the currently pending interrupt bits of the IP passed from the caller into " ClearMask " .