IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


unsigned char spiSlaveRead ( BYTE  idx  ) 

Use this function to input a byte from the SPI bus in slave mode. Must be called in the SPI interrupt service function.

Parameters:
idx SPI bus index
         0 = dedicated SPI on PSC3 or GPT

Returns:
Data byte that is read from the SPI bus.
Since:
SC2x3 V1.00 - CLIB V1.00
See also:
spiSlaveWrite() spiSlaveReadWrite()





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:37 2017 by Doxygen 1.6.1