8 Replies Latest reply on Oct 22, 2014 9:47 PM by dmiya

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

      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)