IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


unsigned int spiSlaveState ( BYTE  idx  ) 

Use this function to poll the SPI interface in slave mode.

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

Returns:
SPI state
  • Bit6=1, an overrun was detected
  • Bit7=1, new data copied to data register
Since:
SC2x3 V1.02 - CLIB V1.02
See also:
spiSlaveInit() spiSlaveWrite()





Top of page | Main page

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