rfdc
Xilinx SDK Drivers API Documentation
xrfdc_selftest_example.c File Reference

Overview

This file contains a selftest example for using the rfdc hardware and RFSoC Data Converter driver.

This example does some writes to the hardware to do some sanity checks and does a reset to restore the original settings.

For zcu111 board users are expected to define XPS_BOARD_ZCU111 macro while compiling this example.

MODIFICATION HISTORY:
Ver   Who    Date     Changes

1.0 sk 05/25/17 First release 1.1 sk 08/09/17 Modified the example to support both Linux and Baremetal. 4.0 sd 04/28/18 Add Clock configuration support for ZCU111. sd 05/15/18 Updated Clock configuration for lmk.
 

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.