The unified diff between revisions [7ac10cd3..] and [b85a3bbc..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'i2c.h'

#
# old_revision [7ac10cd34167baa43683a09e9e9e6778e691171d]
# new_revision [b85a3bbccc40f21e02f50101af764be93eeb9538]
#
# add_file "i2c.h"
#  content [bcffa252b76002931a95d727ede2f201d1a6f614]
#
============================================================
--- /dev/null	
+++ i2c.h	bcffa252b76002931a95d727ede2f201d1a6f614
@@ -0,0 +1,17 @@
+#ifndef __I2C_H
+#define __I2C_H
+
+#include "types.h"
+void init_i2c(void);
+extern int i2cstat;
+int i2c_wait(void);
+void i2c_go(void);
+int i2c_conreg(void);
+int i2c_statreg(void);
+bool i2c_send_start(void);
+bool i2c_send_address(int addr, bool write);
+bool i2c_send_data(int data);
+bool i2c_receive_data(int *data, bool last);
+void i2c_send_stop(void);
+
+#endif /* __I2C_H */