summaryrefslogtreecommitdiffstats
path: root/apps/osmocomBB/osmocomBB/include/battery/compal_e88.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/osmocomBB/osmocomBB/include/battery/compal_e88.h')
-rw-r--r--apps/osmocomBB/osmocomBB/include/battery/compal_e88.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/osmocomBB/osmocomBB/include/battery/compal_e88.h b/apps/osmocomBB/osmocomBB/include/battery/compal_e88.h
new file mode 100644
index 0000000000..c6c96f398d
--- /dev/null
+++ b/apps/osmocomBB/osmocomBB/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