| sdiaud Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

Functions
xsdiaud_selftest_example.c File Reference

## Overview

This file contains a example for using the SdiAud hardware device and SdiAud driver.

     MODIFICATION HISTORY:

    Ver      Who    Date            Changes

    1.0      kar    02/16/18        First release
    1.1   kar    04/25/18        Changed default value of the clk phase bit to 1.
                                 Removed version register macro.
                                 Removed get version API call from the self test.
    1.2     Dhanumjay 02/02/24      Ported the self test to SDT flow

## Functions
int | SdiAud_SelfTestExample (u16 DeviceId)
| This function does a minimal test on the SdiAud device and driver as a design example. More...
int | main (void)
| Main function to call the Self Test example. More...

## Function Documentation

int main | ( | void |  | ) |

Main function to call the Self Test example.

Parameters

  None. |

Returns
  XST_SUCCESS if successful, XST_FAILURE if unsuccessful.

Note
  None.

References SdiAud_SelfTestExample().

int SdiAud_SelfTestExample | ( | u16 | DeviceId | ) |

This function does a minimal test on the SdiAud device and driver as a design example.

Parameters

  DeviceId | is the Device ID of the SdiAud Device and is the XPAR_<sdiaud_instance>_DEVICE_ID value from xparameters.h

Returns
  XST_SUCCESS if successful, otherwise XST_FAILURE.

Note
  None.

References XSdiAud_Initialize().

Referenced by main().