Header File: #include <SPIAPI.H>
Here is the CLIB API for access to the IPC@CHIP®'s SPI bus.
SPI is a serial bus standard established by Motorola. The Serial Peripheral
Interface (SPI) is a synchronous serial interface useful for communicating
with other peripheral or microcontroller devices. These peripheral devices
may be Serial EEPROMs, shift registers, display drivers, A/D converters, etc.
| spi_write | Write to the SPI Interface (software emulation/hardware interface) |
| spi_read | Read from the SPI Interface (software emulation/hardware interface) |
| spi_read_write | Read and write from/to the SPI Interface (software emulation/hardware interface) |
| spi_write_hw | Write to the SPI Interface (with return value for hardware interface) |
| spi_read_hw | Read from the SPI Interface (with return value for hardware interface) |
| spi_read_write_hw | Read and write from/to the SPI Interface (with return value for hardware interface) |
| spi_waiton_sem | Wait on SPI semaphore (hardware interface) |
| spi_waiton_sem_setmode | Wait on SPI semaphore, set SPI mode and divider (hardware interface) |
| spi_release_sem | Release the SPI semaphore (hardware interface) |