IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


void spiSetSS ( BYTE  idx,
BOOL  value 
)

This function can be used in master mode to set the level of the SS output pin. It can only be used to set the chip select if the SS Autodrive mode is not used. Because the CODEC SPI bus interfaces always use the Autodrive mode, this function can not be used with these bus indexes.

The spiInit() function initializes the SS output to high.

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

value SS output level, 0 = SS low, 1 = SS high
Compatibility:
This function is not available on SC1x, SC2x and SC1x3. On these systems the SS output is a normal PIO and can be accessed over the PIO functions.
Returns:
Nothing
Since:
SC2x3 V1.00 - CLIB V1.00
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