summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/battery/compal_e88.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/firmware/include/battery/compal_e88.h')
-rw-r--r--src/target/firmware/include/battery/compal_e88.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/target/firmware/include/battery/compal_e88.h b/src/target/firmware/include/battery/compal_e88.h
new file mode 100644
index 00000000..c6c96f39
--- /dev/null
+++ b/src/target/firmware/include/battery/compal_e88.h
@@ -0,0 +1,15 @@
+#ifndef _BATTERY_COMPAL_E88_H
+#define _BATTERY_COMPAL_E88_H
+
+#include <stdint.h>
+#include <abb/twl3025.h>
+
+/* initialize the charger control loop on C123 */
+
+extern void
+battery_compal_e88_init();
+
+extern uint16_t
+compal_e88_madc[MADC_NUM_CHANNELS];
+
+#endif