spips: Examples

| spips Xilinx SDK 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 spips driver.

# xspips_selftest_example.c

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

For details, see xspips_selftest_example.c.

# xspips_eeprom_intr_example.c

Contains an example on how to use the XSpips driver directly. This example shows the usage of the SPI driver(XSpiPs) in interrupt mode and hardware device with a serial EEPROM device.

For details, see xspips_eeprom_intr_example.c.

# xspips_eeprom_polled_example.c

Contains an example on how to use the XSpips driver directly. This example shows the usage of the SPI driver(XSpiPs) in polled mode and hardware device with a serial EEPROM device.

For details, see xspips_eeprom_polled_example.c.

# xspips_flash_intr_example.c

Contains an example on how to use the XSpips driver directly. This example shows the usage of the SPI driver(XSpiPs) in interrupt mode with a serial flash device. This examples performs transfers in Manual start mode using interrupts.

For details, see xspips_flash_intr_example.c.

# xspips_flash_polled_example.c

Contains an example on how to use the XSpips driver directly. This example shows the usage of the SPI driver(XSpiPs) in polled mode with a Serial Flash device. This examples performs transfers in polled mode.

For details, see xspips_flash_polled_example.c.

# xspips_slave_polled_example.c

Contains an example on how to use the XSpips driver directly. This example shows the usage of the SPI controller in slave mode. This examples performs transfers in polled mode and has been tested with Aardvark Analyzer as Master.

For details, see xspips_slave_polled_example.c.