summaryrefslogtreecommitdiff
path: root/include/stream_i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stream_i2c.h')
-rw-r--r--include/stream_i2c.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/stream_i2c.h b/include/stream_i2c.h
new file mode 100644
index 0000000..ccbccde
--- /dev/null
+++ b/include/stream_i2c.h
@@ -0,0 +1,5 @@
+#include <stdint.h>
+#include <stddef.h>
+
+int i2c_read(uint8_t* buf, size_t count, void **vptr, void *sptr);
+int i2c_write(uint8_t* buf, size_t count, void **vptr, void *sptr);