summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/i2c/bq25895.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-03-29 13:39:54 +0200
committerUros Majstorovic <majstor@majstor.org>2021-03-29 13:39:54 +0200
commit4566511371a8a80201c1adb0535cde722cbd9b48 (patch)
tree713ddf042dc19ba3d7517ea5957ddd2d7c802d62 /fw/fe310/eos/i2c/bq25895.h
parent3be79c828b4b9466fecb856b9ccf184304b852e0 (diff)
moved i2c from esp32 to fe310. added bq25895, drv2605 and lsm9ds1 i2c support
Diffstat (limited to 'fw/fe310/eos/i2c/bq25895.h')
-rw-r--r--fw/fe310/eos/i2c/bq25895.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fw/fe310/eos/i2c/bq25895.h b/fw/fe310/eos/i2c/bq25895.h
new file mode 100644
index 0000000..f61a46f
--- /dev/null
+++ b/fw/fe310/eos/i2c/bq25895.h
@@ -0,0 +1,5 @@
+#include <stdint.h>
+
+#define BQ25895_ADDR 0x6A
+
+void eos_bq25895_init(void);