47 #include "contiki-conf.h"
61 extern rtimer_clock_t lpm_stats[3];
67 #define LPM_STATS_GET(pm) lpm_stats[pm]
69 #define LPM_STATS_GET(pm)
189 typedef bool (*lpm_periph_permit_pm1_func_t)(void);
210 #if LPM_CONF_ENABLE==0
214 #define lpm_set_max_pm(...)
215 #define lpm_register_peripheral(...)
#define lpm_enter()
Drop to Deep Sleep.
#define lpm_exit()
Perform an 'Exit Deep Sleep' sequence.
#define lpm_init()
Initialise the LPM module.
Header file for the real-time timer module.
void lpm_register_peripheral(lpm_periph_permit_pm1_func_t permit_pm1_func)
Register a peripheral function which will get called by the LPM module to get 'permission' to drop to...
void lpm_set_max_pm(uint8_t pm)
Prevent the SoC from dropping to a PM higher than max_pm.