Function Prototype
u32 XRFdc_MultiBand(XRFdc *InstancePtr, u32 Type, u32 Tile_Id, u8 DigitalDataPathMask, u32 DataType, u32 DataConverterMask);
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.
- u8 DigitalDataPathMask
- Represents the datapath mask for multi-band. The first four bits represent four datapaths; 1 is enabled and 0 is disabled.
- u32 DataType
- DataType is the mixer data type; valid values are
XRFDC_MB_DATATYPE_*
.
Macro | Description |
---|---|
XRFDC_MB_DATATYPE_C2C | DataType is Complex to Complex |
XRFDC_MB_DATATYPE_R2C | DataType is Real to Complex |
XRFDC_MB_DATATYPE_C2R | DataType is Complex to Real |
- u32 DataConverterMask
- DataConverterMask is a block-enabled mask (input/output driving blocks); 1 means enabled and 0 means disabled.
Description
This API function is used to set up single-band and multi-band configuration.
Return Value
XRFDC_SUCCESS
XRFDC_FAILURE