Modified version of the official mbed-src lib. Provides some tiny but rather intrusive addons in the i2c-api.h for the mbed-RtosI2cDriver lib.

Fork of mbed-src by mbed official

Revision:
7:6e50904b84e2
Parent:
2:143cac498751
Child:
8:28ed2abfeb85
--- a/capi/i2c_api.h	Mon Mar 18 10:36:46 2013 +0000
+++ b/capi/i2c_api.h	Fri Apr 19 21:33:21 2013 +0000
@@ -39,6 +39,7 @@
 #if DEVICE_I2CSLAVE
 void i2c_slave_mode   (i2c_t *obj, int enable_slave);
 int  i2c_slave_receive(i2c_t *obj);
+int  i2c_slave_receive_rtos(i2c_t *obj, uint32_t tmout);
 int  i2c_slave_read   (i2c_t *obj, char *data, int length);
 int  i2c_slave_write  (i2c_t *obj, const char *data, int length);
 void i2c_slave_address(i2c_t *obj, int idx, uint32_t address, uint32_t mask);