IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


void i2cSlaveSendAck ( BYTE  idx,
BOOLEAN  ack 
)

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 write a byte.

Parameters:
idx I2C bus interface index (0=I2C1 or 1=I2C2)
ack 0: dont't send acknowledge, 1: send acknowledge
Returns:
Nothing
Since:
SC2x3 V1.00 - CLIB V1.00
See also:
i2cSlaveGetState(), i2cSlaveSendByte(), i2cSlaveReadByte()





Top of page | Main page

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