| i2srx Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

Functions
xi2srx_selftest_example.c File Reference

## Overview

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

     MODIFICATION HISTORY:

    Ver     Who        Date         Changes

    1.0     kar       01/25/18      First release

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

## Function Documentation

int I2srx_SelfTest_Example | ( | u16 | DeviceId | ) |

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

The purpose of this function is to illustrate how to use the xi2s_receiver component.

Parameters

  DeviceId | is the Device ID of the I2S RX Device and is the XPAR_<I2S_receiver_instance>_DEVICE_ID value from xparameters.h

Returns
  XST_SUCCESS if successful, otherwise XST_FAILURE.

Note
  None.

References XI2s_Rx_CfgInitialize(), and XI2s_Rx_LookupConfig().

Referenced by main().

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 I2srx_SelfTest_Example().