| ospipsv 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 ospi driver.

# xospipsv_flash_polled_example.c

Contains an example on how to use the XOspiPsv driver directly. This example performs the read and write and erase using ospi driver in polled mode.

For details, see xospipsv_flash_polled_example.c.

# xospipsv_flash_intr_example.c

Contains an example on how to use the XOspiPsv driver directly. This example performs the read and write and erase test using ospi driver in interrupt mode.

For details, see xospipsv_flash_intr_example.c.

# xospipsv_flash_non_blocking_read_example.c

Contains an example on how to use the XOspiPsv driver directly. This example performs the read (using non-blocking APIs) and write and erase using ospi driver in polled mode.

For details, see xospipsv_flash_non_blocking_read_example.c.

# xospipsv_flash_config.h

Contains flash related configuration table and macros. This header file must be included in the ospipsv examples.

For details, see xospipsv_flash_config.h.