Function Prototype
u32 XRFdc_SetDataPathMode(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
- The data path mode. Valid values are 1-4.
Macro | Description |
---|---|
XRFDC_DATAPATH_MODE_DUC_0_FSDIVTWO | Full Bandwidth FS 7GSPS |
XRFDC_DATAPATH_MODE_DUC_0_FSDIVFOUR | Half Bandwidth, Low Pass IMR, FS 10GSPS |
XRFDC_DATAPATH_MODE_FSDIVFOUR_FSDIVTWO | Half Bandwidth, High Pass IMR, FS 10GSPS |
XRFDC_DATAPATH_MODE_NODUC_0_FSDIVTWO | Full Bandwidth, Bypass Datapath |
Description
The mode is used to update the corresponding block level
registers.
Note: This is an
API function for RF-DACs only. Only available
for Gen 3/DFE devices.
Return Value
XRFDC_SUCCESS
XRFDC_FAILURE