aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common/suspend.h
blob: 80617a824447db8ec709e9c0062d9bd6fe8955a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk ARCH:=powerpc BOARD:=apm821xx BOARDNAME:=AppliedMicro APM821xx CPU_TYPE:=464fp FEATURES:=fpu dt gpio MAINTAINER:=Chris Blake <chrisrblake93@gmail.com>, \ Christian Lamparter <chunkeey@gmail.com> SUBTARGETS:=nand sata KERNEL_PATCHVER:=4.14 define Target/Description Build images for AppliedMicro APM821xx based boards. endef include $(INCLUDE_DIR)/target.mk KERNELNAME:=uImage DEFAULT_PACKAGES += \ kmod-leds-gpio kmod-i2c-core kmod-gpio-button-hotplug $(eval $(call BuildTarget))