XRFdc_SetDecoderMode - 2.6 English

Zynq UltraScale+ RFSoC RF Data Converter v2.6 Gen 1/2/3/DFE LogiCORE IP Product Guide (PG269)

Document ID
PG269
Release Date
2023-10-18
Version
2.6 English

Function Prototype

u32 XRFdc_SetDecoderMode(XRFdc *InstancePtr, u32 Tile_Id, u32 Block_Id, u32 DecoderMode);

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 number inside the tile. Valid values are 0-3.
u32 DecoderMode
Decoder mode settings. Valid values are:
  • Maximum linearity, for randomized decoder
  • Maximum SNR, for non-randomized decoder
Table 1. Valid Macros for DecoderMode Arguments
Macro Description
XRFDC_DECODER_MAX_SNR_MODE Maximum SNR mode
XRFDC_DECODER_MAX_LINEARITY_MODE Maximum Linearity mode

Description

This API function writes the decoder mode to the relevant registers. The driver structure is updated with the new values.
Note: This API function is used only for the RF-DACs.

Return Value

XRFDC_SUCCESS

XRFDC_FAILURE