Function Prototype
u32 XRFdc_SetQMCSettings(XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, XRFdc_QMC_Settings *QMCSettingsPtr);
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/RF-DAC tile number. Valid values are 0-3.
- u32 Block_Id
- RF-ADC/RF-DAC number inside the tile. Valid values are 0-3.
- XRFdc_QMC_Settings *QMCSettingsPtr
- Pointer to the XRFdc_QMC_Settings structure used to update the corresponding registers.
Description
QMC settings from the passed structure are populated into the corresponding
registers. The driver structure is updated with the new values.
Note: This is a common
API function for RF-ADCs/RF-DACs.
Return Value
XRFDC_SUCCESS
XRFDC_FAILURE