XilinxProcessorIPLib/drivers/v_sditx/src/xv_sditx_intr.c
void XV_SdiTx_InterruptClear(XV_SdiTx *InstancePtr, u32 Mask)
{
	/* Verify arguments */
	Xil_AssertVoid(InstancePtr != NULL);

	/* Checking for invalid mask bits being set */
	Xil_AssertVoid((Mask & (~(XV_SDITX_ISR_ALLINTR_MASK))) == 0);

	Mask &= XV_SdiTx_ReadReg(InstancePtr->Config.BaseAddress, XV_SDITX_ISR_OFFSET);

	XV_SdiTx_WriteReg(InstancePtr->Config.BaseAddress, XV_SDITX_ISR_OFFSET,
				Mask & XV_SDITX_ISR_ALLINTR_MASK);
}
/*****************************************************************************/
/**
* This function will clear the interrupts set in the Interrupt Status
* Register of the SDI Tx core
*
* @param	InstancePtr is the XV_SdiTx instance to operate on
* @param	Mask is Interrupt Mask with bits set for corresponding interrupt
*		to be cleared in the Interrupt Status register
*
* @return	None
*
* @note		None
*
****************************************************************************/
This function will clear the interrupts set in the Interrupt Status
Register of the SDI Tx core
This function will clear the interrupts set in the Interrupt Status Register of the SDI Tx core
void XV_SdiTx_InterruptClear(XV_SdiTx *InstancePtr, u32 Mask)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid((Mask & (~(XV_SDITX_ISR_ALLINTR_MASK))) == 0);
	Mask &= XV_SdiTx_ReadReg(InstancePtr->Config.BaseAddress, XV_SDITX_ISR_OFFSET);
	XV_SdiTx_WriteReg(InstancePtr->Config.BaseAddress, XV_SDITX_ISR_OFFSET,
				Mask & XV_SDITX_ISR_ALLINTR_MASK);
}
void XV_SdiTx_InterruptClear ( XV_SdiTx * InstancePtr , u32 Mask ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( ( Mask & ( ~ ( XV_SDITX_ISR_ALLINTR_MASK ) ) ) == 0 ) ; Mask &= XV_SdiTx_ReadReg ( InstancePtr -> Config . BaseAddress , XV_SDITX_ISR_OFFSET ) ; XV_SdiTx_WriteReg ( InstancePtr -> Config . BaseAddress , XV_SDITX_ISR_OFFSET , Mask & XV_SDITX_ISR_ALLINTR_MASK ) ; }
This function will clear the interrupts set in the Interrupt Status
Register of the SDI Tx core
This function will clear the interrupts set in the Interrupt Status Register of the SDI Tx core
/* Verify arguments */ /* Checking for invalid mask bits being set */