Function Prototype
u32 XRFdc_IntrClr(XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, u32 IntrMask);
Arguments
- XRFdc *InstancePtr
- Pointer to the driver instance.
- u32 Type
- RF-ADC or RF-DAC; 0 for RF-ADC and 1 for RF-DAC.
- u32 Tile_Id
- RF-ADC or RF-DAC tile number. Valid values are 0-3.
- u32 Block_Id
- RF-ADC or RF-DAC number inside the tile. Valid values are 0-3
- u32 IntrMask
- Interrupts to be cleared. The valid masks are
described in the API for
XRFdc_IntrEnable
.
Description
This function clears the interrupt for the corresponding converter by taking the
IntrMask
as an input and writing to the
corresponding register bit.
Return Value
XRFDC_SUCCESS
XRFDC_FAILURE