rfdc
Xilinx SDK Drivers API Documentation
xrfdc_read_write_example.c File Reference

Overview

This example uses multiple driver "set" APIs to configure the targeted AMS block.

Subsequently it uses "get" APIs to read back the configurations to ensure that the desired configurations are applied.

For DAC it sets the following configurations: MixerSettings, QMCSettings, Write Fabricrate, Decoder mode, Output Current and Coarse Delay.

For ADC it sets the following configurations: MixerSettings, QMCSettings, Read Fabricrate and Threshold Settings. This example shows how to change the configurations for ADC and DAC using driver functions.

NOTE: The purpose of the example is to show how to use the driver APIs. For real user scenarios this example will not be relevant.

MODIFICATION HISTORY:
Ver   Who    Date     Changes

1.0 sk 05/15/17 First release 1.1 sk 08/09/17 Modified the example to support both Linux and Baremetal. sk 08/23/17 Add Nyquist Zone test case. sk 09/25/17 Add GetOutput Current test case.
 

Functions

int main (void)
 Main function that invokes the polled example in this file. More...
 

Function Documentation

◆ main()

int main ( void  )

Main function that invokes the polled example in this file.

Parameters
None.
Returns
  • XRFDC_SUCCESS if the example has completed successfully.
  • XRFDC_FAILURE if the example has failed.
Note
None.