sleepmgr.c
Go to the documentation of this file.00001
00038 #include <compiler.h>
00039 #include <sleepmgr.h>
00040
00041 #if defined(CONFIG_SLEEPMGR_ENABLE) || defined(__DOXYGEN__)
00042
00043 uint8_t sleepmgr_locks[SLEEPMGR_NR_OF_MODES];
00044
00045 # ifndef __DOXYGEN__
00046 PROGMEM_DECLARE(enum SLEEP_SMODE_enum,
00047 sleepmgr_configs[SLEEPMGR_NR_OF_MODES]) = {
00048 # else
00049 enum SLEEP_SMODE_enum sleepmgr_configs[SLEEPMGR_NR_OF_MODES] = {
00050 # endif
00051 SLEEP_SMODE_IDLE_gc,
00052 SLEEP_SMODE_ESTDBY_gc,
00053 SLEEP_SMODE_PSAVE_gc,
00054 SLEEP_SMODE_STDBY_gc,
00055 SLEEP_SMODE_PDOWN_gc,
00056 };
00057
00058 #endif