IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


unsigned int spiSlavePortData ( BYTE  idx  ) 

Use this function to get the state of the SPI pins in slave mode.

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

Returns:
SPI port data
  • Bit0, MISO signal state
  • Bit1, MOSI signal state
  • Bit2, SCK signal state
  • Bit3, SS signal state
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