IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

unsigned int spiGetMISO ( BYTE  idx  ) 

This function can be used in master mode when the bidirectional mode (SPI_BIDIRECTIONAL) is enabled. In this mode the MISO pin can be used as a GPIO pin. This function will set the pin to input mode and reads the level of the pin.

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

This function is not available on SC1x, SC2x and SC1x3.
Level of MISO. 0 = Low, 1 = High.
SC2x3 V1.02 - CLIB V1.02
See also:

Top of page | Main page

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