IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


◆ spiReleaseBus()

unsigned int spiReleaseBus ( BYTE  idx)

If multiple tasks use the SPI master interface to access different slaves through different slave chip select GPIO pins, this call should be used to synchronise the SPI activity on the bus.

Parameters
idxSPI bus index
     0 = SPI on SPI1
     1 = SPI on SPI2
     etc.
Returns
Zero on success
Since
V0.86
See also
spiReserveBus()





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Fri Feb 9 2018 17:44:50 by Doxygen 1.8.13