summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/i2c.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-05-13 12:45:53 +0200
committerUros Majstorovic <majstor@majstor.org>2022-05-13 12:45:53 +0200
commit412a8f99928beff605805807b0f07f6bf8d0a965 (patch)
tree366f1768ddfd32960c5d26ca3fba14e82c3b571e /fw/fe310/eos/i2c.h
parent9ccb4db8d59ec9dab33ee8617d462f21a8bb4fa8 (diff)
code rename
Diffstat (limited to 'fw/fe310/eos/i2c.h')
-rw-r--r--fw/fe310/eos/i2c.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/fw/fe310/eos/i2c.h b/fw/fe310/eos/i2c.h
deleted file mode 100644
index 20d3dc7..0000000
--- a/fw/fe310/eos/i2c.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <stdint.h>
-
-#define EOS_I2C_SPEED 100000
-
-int eos_i2c_init(uint8_t wakeup_cause);
-int eos_i2c_run(uint8_t wakeup_cause);
-void eos_i2c_start(void);
-void eos_i2c_stop(void);
-void eos_i2c_speed(uint32_t baud_rate);
-int eos_i2c_read8(uint8_t addr, uint8_t reg, uint8_t *buffer, uint16_t len);
-int eos_i2c_read16(uint8_t addr, uint16_t reg, uint8_t *buffer, uint16_t len);
-int eos_i2c_write8(uint8_t addr, uint8_t reg, uint8_t *buffer, uint16_t len);
-int eos_i2c_write16(uint8_t addr, uint16_t reg, uint8_t *buffer, uint16_t len);