summaryrefslogtreecommitdiff
path: root/src/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/i2c.h')
-rw-r--r--src/i2c.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/i2c.h b/src/i2c.h
new file mode 100644
index 0000000..31c21bb
--- /dev/null
+++ b/src/i2c.h
@@ -0,0 +1,7 @@
+#ifndef __I2C_H
+#define __I2C_H
+
+int rtl_i2c_write(uint8_t i2c_addr, uint8_t *buffer, int len);
+int rtl_i2c_read(uint8_t i2c_addr, uint8_t *buffer, int len);
+
+#endif