IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


Macros
SPI Legacy API

Detailed Description

The following definitions are provided to assure a compatibility to previous @CHIP-RTOS operation systems and targets.

Macros

#define SPI_LEGACY_BUS   (0)
 Legacy API, select the SPI bus interface for the legacy API. More...
 
#define spi_init_hw(a, b)   spiInit(SPI_LEGACY_BUS, a, b)
 Legacy API, mapped to spiInit() More...
 
#define spi_write(a, b)   spiWrite(SPI_LEGACY_BUS, (BYTE const *)(a), (unsigned)(b))
 Legacy API, mapped to spiWrite() More...
 
#define spi_write_hw(a, b)   spiWrite(SPI_LEGACY_BUS, (BYTE const *)(a), (unsigned)(b))
 Legacy API, mapped to spiWrite() More...
 
#define spi_read(a, b)   spiRead(SPI_LEGACY_BUS, (BYTE *)(a), (unsigned)(b))
 Legacy API, mapped to spiRead() More...
 
#define spi_read_hw(a, b)   spiRead(SPI_LEGACY_BUS, (BYTE *)(a), (unsigned)(b))
 Legacy API, mapped to spiRead() More...
 
#define spi_read_write(a, b, c)   spiReadWrite(SPI_LEGACY_BUS, (BYTE *)(a), (BYTE const *)(b), (unsigned)(c))
 Legacy API, mapped to spiReadWrite() More...
 
#define spi_read_write_hw(a, b, c)   spiReadWrite(SPI_LEGACY_BUS, (BYTE *)(a), (BYTE const *)(b), (unsigned)(c))
 Legacy API, mapped to spiReadWrite() More...
 
#define spi_waiton_sem()   spiReserveBus(SPI_LEGACY_BUS, -1, -1, 0, FIXED_WAIT_PRIORITY)
 Legacy API, mapped to spiReserveBus() More...
 
#define spi_waiton_sem_ext(a, b)   spiReserveBus(SPI_LEGACY_BUS, -1, -1, a, b)
 Legacy API, mapped to spiReserveBus() More...
 
#define spi_waiton_sem_setmode(a, b)   spiReserveBus(SPI_LEGACY_BUS, a, b, 0, FIXED_WAIT_PRIORITY)
 Legacy API, mapped to spiReserveBus() More...
 
#define spi_waiton_sem_setmode_ext(a, b, c, d)   spiReserveBus(SPI_LEGACY_BUS, a, b, c, d)
 Legacy API, mapped to spiReserveBus() More...
 
#define spi_release_sem()   spiReleaseBus(SPI_LEGACY_BUS)
 Legacy API, mapped to spiReleaseBus() More...
 





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Dec 12 2017 09:23:37 by Doxygen 1.8.13