XilinxProcessorIPLib/drivers/spdif/src/xspdif.h
static inline void XSpdif_IntrEnable(XSpdif *InstancePtr, u32 Mask)
{
		Xil_AssertVoid(InstancePtr != NULL);
		u32 RegValue = XSpdif_ReadReg(InstancePtr->Config.BaseAddress,
				XSPDIF_INTERRUPT_ENABLE_REGISTER_OFFSET);
		RegValue |= Mask;
		XSpdif_WriteReg(InstancePtr->Config.BaseAddress,
				XSPDIF_INTERRUPT_ENABLE_REGISTER_OFFSET,
				RegValue);
}
/*****************************************************************************/
/**
* This function enables the specified interrupt of the XSpdif.
*
* @param  InstancePtr is a pointer to the XSpdif instance.
* @param  Mask is a bit mask of the interrupts to be enabled.
*
* @return None.
*
* @see xspdf_hw.h file for the available interrupt masks.
*
******************************************************************************/
This function enables the specified interrupt of the XSpdif.
This function enables the specified interrupt of the XSpdif .
static inline void XSpdif_IntrEnable(XSpdif *InstancePtr, u32 Mask)
{
		Xil_AssertVoid(InstancePtr != NULL);
		u32 RegValue = XSpdif_ReadReg(InstancePtr->Config.BaseAddress,
				XSPDIF_INTERRUPT_ENABLE_REGISTER_OFFSET);
		RegValue |= Mask;
		XSpdif_WriteReg(InstancePtr->Config.BaseAddress,
				XSPDIF_INTERRUPT_ENABLE_REGISTER_OFFSET,
				RegValue);
}
static inline void XSpdif_IntrEnable ( XSpdif * InstancePtr , u32 Mask ) { Xil_AssertVoid ( InstancePtr != NULL ) ; u32 RegValue = XSpdif_ReadReg ( InstancePtr -> Config . BaseAddress , XSPDIF_INTERRUPT_ENABLE_REGISTER_OFFSET ) ; RegValue |= Mask ; XSpdif_WriteReg ( InstancePtr -> Config . BaseAddress , XSPDIF_INTERRUPT_ENABLE_REGISTER_OFFSET , RegValue ) ; }
This function enables the specified interrupt of the XSpdif.
This function enables the specified interrupt of the XSpdif .