summaryrefslogtreecommitdiff
path: root/code/esp32/components/eos/include/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/esp32/components/eos/include/i2c.h')
-rw-r--r--code/esp32/components/eos/include/i2c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/code/esp32/components/eos/include/i2c.h b/code/esp32/components/eos/include/i2c.h
index 995a77e..144f5e1 100644
--- a/code/esp32/components/eos/include/i2c.h
+++ b/code/esp32/components/eos/include/i2c.h
@@ -2,6 +2,7 @@
#include <stdint.h>
void eos_i2c_init(void);
+
int eos_i2c_read(uint8_t addr, uint8_t reg, uint8_t *data, size_t len);
uint8_t eos_i2c_read8(uint8_t addr, uint8_t reg);
int eos_i2c_write(uint8_t addr, uint8_t reg, uint8_t *data, size_t len);