"I2cm_ ***" draw at asking for a description.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi...

I am using the I2C communication with EEPROM read / write, you must handle.

I2c API below for a description and parameters, thank you.

And the use of known examples would be appreciated.

void i2cm_init (void)
void i2cm_setSpeed (UINT8 speed)
void i2cm_setTransactionSpeed (void)
UINT8 i2cm_getSpeed (void)
UINT8 i2cm_write (UINT8 *data, UINT16 length, UINT8 slave)
UINT8 i2cm_read (UINT8 *data, UINT16 length, UINT8 slave)
UINT8 i2cm_comboRead (UINT8 *secondTranBuf, UINT16 secondTranCount, UINT8 *firstTranBuf, UINT8 firstTranCount, UINT8 slaveAdr)
UINT8 i2cm_comboWrite (UINT8 *secondTranBuf, UINT16 secondTranCount, UINT8 *firstTranBuf, UINT8 firstTranCount, UINT8 slaveAdr)

0 Likes
1 Solution
asridharan
Employee
Employee
10 comments on KBA 5 comments on KBA First comment on KBA

Documentation for these functions has been updated in SDK 2.0.1. See <SDK>/include/Drivers/i2cm.h

View solution in original post

0 Likes
8 Replies