ROM Comm / Mbed 2 deprecated espar_mini_control_CAN

Dependencies:   mbed mbed-STM32F103C8T6

Revision:
10:a82e51837e2b
diff -r 6126b83608be -r a82e51837e2b i2c/i2c_base.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/i2c/i2c_base.h	Fri Jun 12 23:28:43 2020 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+#include "wiced_types.h"
+#ifndef __I2C_BASE_H
+#define __I2C_BASE_H
+
+#define NUM_I2C_MESSAGE_RETRIES     3
+
+void cleanI2CLines(I2C* dev, PinName sda, PinName scl);
+wiced_result_t writeRegs(unsigned char addr, unsigned char * data, unsigned char len, I2C* i2c_dev, const int addr7bit, int* i2cfailcount, wiced_bool_t swap);
+wiced_result_t readRegs(unsigned char addr, unsigned char * data, unsigned char len, I2C* i2c_dev, const int addr7bit, int* failcount, wiced_bool_t writeThenRead,
+        wiced_bool_t swap);
+
+#endif
+