Function Prototype
u32 XRFdc_GetDataPathMode(XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 *Mode);
Arguments
- XRFdc *InstancePtr
- Pointer to the driver instance.
- u32 Tile_Id
- RF-DAC tile number. Valid values are 0-3.
- u32 Block_Id
- RF-DAC block number inside the tile. Valid values are 0-3.
- u32 *Mode
- Pointer to return the data path mode. Valid values are 0-3.
Macro | Description |
---|---|
XRFDC_DAC_MODE_7G_NQ1 | First Nyquist zone FS 7 GSPS |
XRFDC_DAC_MODE_7G_NQ2 | Second Nyquist zone FS 7 GSPS |
XRFDC_DAC_MODE_10G_IMR | First Nyquist zone FS 10 GSPS IMR |
XRFDC_DAC_MODE_10G_BYPASS | Full Bandwidth, Bypass datapath |
Description
The mode is read from the registers and the pointer is
populated.
Note: This is an
API function for RF-DACs only. Only available
for Gen 3/DFE devices.
Return Value
XRFDC_SUCCESS
XRFDC_FAILURE