summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/dev/batt.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2025-02-16 20:17:43 +0100
committerUros Majstorovic <majstor@majstor.org>2025-02-16 20:17:43 +0100
commitd979b344e5d10c8ecb075554008b707c490db672 (patch)
tree9f3561e9bc9f42a375788c8680c7eabdeb8ea42a /fw/fe310/eos/dev/batt.h
parent2e17dd17ee9777084b2f211f08c4231dd5f8b906 (diff)
drivers made independent from microcontroller/osHEADmaster
Diffstat (limited to 'fw/fe310/eos/dev/batt.h')
-rw-r--r--fw/fe310/eos/dev/batt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fw/fe310/eos/dev/batt.h b/fw/fe310/eos/dev/batt.h
new file mode 100644
index 0000000..e761a37
--- /dev/null
+++ b/fw/fe310/eos/dev/batt.h
@@ -0,0 +1,4 @@
+#include <stdint.h>
+
+int eos_batt_init(void);
+int eos_batt_read_fault(uint8_t *fault0, uint8_t *fault1);