aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/common/suspend.h
diff options
context:
space:
mode:
authorJack Humbert <[email protected]>2015-10-27 12:42:30 -0400
committerJack Humbert <[email protected]>2015-10-27 12:42:30 -0400
commit547da78335298df6666200c6063ac6f1aba312fd (patch)
tree47df0252ee24b1ecc27b9dd0458c51f20bf088c3 /tmk_core/common/suspend.h
parenta766918d5c48204375f4c207b30bbbf1389df14f (diff)
parentfa33719adab1393753312d298b8c365e04e844b9 (diff)
downloadqmk_firmware-547da78335298df6666200c6063ac6f1aba312fd.tar.gz
qmk_firmware-547da78335298df6666200c6063ac6f1aba312fd.zip
merging tmk
Diffstat (limited to 'tmk_core/common/suspend.h')
-rw-r--r--tmk_core/common/suspend.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tmk_core/common/suspend.h b/tmk_core/common/suspend.h
new file mode 100644
index 0000000000..80617a8244
--- /dev/null
+++ b/tmk_core/common/suspend.h
@@ -0,0 +1,13 @@
+#ifndef SUSPEND_H
+#define SUSPEND_H
+
+#include <stdint.h>
+#include <stdbool.h>
+
+
+void suspend_idle(uint8_t timeout);
+void suspend_power_down(void);
+bool suspend_wakeup_condition(void);
+void suspend_wakeup_init(void);
+
+#endif