IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


void spiSlaveWrite ( BYTE  idx,
unsigned char  data 
)

Use this function to output a byte to the SPI bus in slave mode. Must be called in the SPI interrupt service function.

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

data Data byte that should be send over the SPI bus.
Returns:
Nothing
Since:
SC2x3 V1.00 - CLIB V1.00
See also:
spiSlaveRead() spiSlaveReadWrite()





Top of page | Main page

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