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.
|idx ||SPI bus index|
0 = dedicated SPI on PSC3 or GPT
|value ||SS output level, 0 = SS low, 1 = SS high|
- 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.
- SC2x3 V1.00 - CLIB V1.00
- See also: