Use this function to input and output a byte from/to the SPI bus in slave mode. Must be called in the SPI interrupt service function.
|idx ||SPI bus index|
0 = dedicated SPI on PSC3 or GPT
|data ||Data byte that should be send over the SPI bus.|
- Data byte that is read from the SPI bus.
- SC2x3 V1.00 - CLIB V1.00
- See also:
- spiSlaveRead() spiSlaveWrite()