IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


◆ i2cRead()

unsigned int i2cRead ( BYTE  idx,
unsigned int  addr,
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 where the data bytes that are received will be written to
nbytesNumber of bytes to receive
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