| uartpsv Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

Functions
xuartpsv_selftest_example.c File Reference

## Overview

This example runs on versal evaluation board (vck190), it performs self test by using XUartPsv driver.

Note

None

MODIFICATION HISTORY:

    Ver  Who  Date      Changes

    1.0  sg   09/18/17  First Release

## Functions
int | UartPsvSelfTestExample (u16 DeviceId)
| This function does a minimal test on the XUartPsv driver. More...
int | main (void)
| Main function to call the example. More...

## Function Documentation

int main | ( | void |  | ) |

Main function to call the example.

Returns
  XST_SUCCESS if successful, otherwise XST_FAILURE

Note
  None

References UartPsvSelfTestExample().

int UartPsvSelfTestExample | ( | u16 | DeviceId | ) |

This function does a minimal test on the XUartPsv driver.

Parameters

  DeviceId | is the XPAR_<UARTPSV_instance>_DEVICE_ID value from xparameters.h

Returns
  XST_SUCCESS if successful, otherwise XST_FAILURE

Note
  None

References XUartPsv_Config::BaseAddress, XUartPsv_CfgInitialize(), XUartPsv_LookupConfig(), and XUartPsv_SelfTest().

Referenced by main().