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:
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