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.

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

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

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Thu Nov 1 13:20:16 2018 by Doxygen 1.6.1