summaryrefslogtreecommitdiff
path: root/include/inductive_charging.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inductive_charging.h')
-rw-r--r--include/inductive_charging.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/inductive_charging.h b/include/inductive_charging.h
new file mode 100644
index 0000000000..60872914df
--- /dev/null
+++ b/include/inductive_charging.h
@@ -0,0 +1,20 @@
+/* Copyright 2014 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/* Inductive charging control */
+
+#include "gpio.h"
+
+#ifndef __INDUCTIVE_CHARGING_H
+#define __INDUCTIVE_CHARGING_H
+
+/*
+ * Interrupt handler for inductive charging signal.
+ *
+ * @param signal Signal which triggered the interrupt.
+ */
+void inductive_charging_interrupt(enum gpio_signal);
+
+#endif