IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


◆ i2cWrite()

unsigned int i2cWrite ( BYTE  idx,
unsigned int  addr,
const BYTE *  bufferPtr,
unsigned int  nbytes,
BOOLEAN  ext 
)
Parameters
idxI2C bus index
     0 = I2C on I2C1
     1 = I2C on I2C2
     etc.
addrSlave address
bufferPtrPointer to the buffer that holds data bytes to send
nbytesNumber of bytes to send
extif "TRUE" use extended address mode
Returns
Zero on success
Since
V1.02





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Dec 12 2017 09:23:36 by Doxygen 1.8.13