IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


void spiSetMISO ( BYTE  idx,
BOOL  value 
)

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 output mode and set the level of the pin.

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

value MISO output level, 0 = MISO low, 1 = MISO high
Compatibility:
This function is not available on SC1x, SC2x and SC1x3.
Returns:
Nothing
Since:
SC2x3 V1.02 - CLIB V1.02
See also:
spiInit()





Top of page | Main page

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