git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4086
38d2e660-2303-0410-9eaa-
f027e97ec537
I2C_CNT /**< Number of serial ports */
};
-void i2c_hw_init(I2c *i2c, int dev, uint32_t clock);
-
#endif /* I2C_LPC2_H */
I2C_CNT /**< Number of serial ports */
};
-void i2c_hw_init(I2c *i2c, int dev, uint32_t clock);
-void i2c_init_0(void);
#endif /* I2C_LM3S_H */
I2C_CNT /**< Number of serial ports */
};
-void i2c_hw_init(I2c *i2c, int dev, uint32_t clock);
-
-#endif /* I2C_LPC2_H */
+#endif /* I2C_STM32_H */
#include CPU_HEADER(i2c)
+/*
+ * Low level i2c init implementation prototype.
+ */
+void i2c_hw_init(I2c *i2c, int dev, uint32_t clock);
+
void i2c_swSend(struct I2c *i2c, const void *_buf, size_t count);
void i2c_swRecv(struct I2c *i2c, void *_buf, size_t count);