IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


void i2cSlaveSendByte ( BYTE  idx,
BYTE  data 
)

This function should be used inside the I2C interrupt handler, if the I2C slave interface is used and the return state of i2cSlaveGetState() signals that the master wants to read a byte.

Parameters:
idx I2C bus interface index (0=I2C1 or 1=I2C2)
data Byte to write
Returns:
Nothing
Since:
SC2x3 V1.00 - CLIB V1.00
See also:
i2cSlaveGetState(), i2cSlaveReadByte(), i2cSlaveSendAck()





Top of page | Main page

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