summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/i2c.h')
-rw-r--r--fw/fe310/eos/i2c.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fw/fe310/eos/i2c.h b/fw/fe310/eos/i2c.h
index 9692ea0..260e680 100644
--- a/fw/fe310/eos/i2c.h
+++ b/fw/fe310/eos/i2c.h
@@ -1,6 +1,7 @@
#include <stdint.h>
-void eos_i2c_start(uint32_t baud_rate);
+void eos_i2c_init(uint8_t wakeup_cause);
+int eos_i2c_start(uint32_t baud_rate);
void eos_i2c_stop(void);
void eos_i2c_set_baud_rate(uint32_t baud_rate);
int eos_i2c_read(uint8_t addr, uint8_t reg, uint8_t *buffer, uint16_t len);