Function Prototype
u32 XRFdc_GetClockSource(XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u32 *ClockSourcePtr);
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 *ClockSourcePtr
- Pointer to return the clock source.
Description
This API function gets the clock source for the RF-ADCs/RF-DACs.
Return Value
XRFDC_SUCCESS
XRFDC_FAILURE