Function Prototype
u32 XRFdc_SetCoarseDelaySettings(XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 Block_Id, XRFdc_CoarseDelay_Settings *CoarseDelaySettingsPtr);
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_CoarseDelay_Settings *CoarseDelaySettingsPtr
- Pointer to the
XRFdc_CoarseDelay_Settings
structure through which the coarse delay settings are passed.
Description
Coarse delay settings passed from the caller are updated in the relevant
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