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.

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

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