| uartps Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Examples

You can refer to the below stated example applications for more details on how to use uartps driver.

# xuartps_selftest_example.c

Contains an example on how to use the XUartps driver directly. This example performs the basic selftest using the driver.

For details, see xuartps_selftest_example.c.

# xuartps_hello_world_example.c

Contains an example on how to use the XUartps driver directly. This example shows the usage of functions of the driver.

For details, see xuartps_hello_world_example.c.

# xuartps_intr_example.c

Contains an example on how to use the XUartps driver directly. This example shows the usage of driver in interrupt mode. It sends data and expects to receive the same data through the device using the local loopback mode.

For details, see xuartps_intr_example.c.

# xuartps_low_echo_example.c

Contains an example on how to use the XUartps driver directly. This example shows the usage of the low-level driver functions and macros of the driver.

For details, see xuartps_low_echo_example.c.

# xuartps_polled_example.c

Contains an example on how to use the XUartps driver directly. This example shows the usage of the driver in polled mode.

For details, see xuartps_polled_example.c.