Function Prototype
u32 XRFdc_SetMixerSettings(XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, XRFdc_Mixer_Settings *MixerSettingsPtr);
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_Mixer_Settings *MixerSettingsPtr
- Pointer to the
XRFdc_Mixer_Settings
structure that passes the mixer/NCO settings.
Description
Mixer/NCO settings passed are used to update the corresponding block level
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