38 #include "periph_cpu.h" 
   45 #ifndef PROVIDES_PM_OFF 
   46 #define PROVIDES_PM_OFF 
   49 #ifndef PROVIDES_PM_SET_LOWEST 
   50 #define PROVIDES_PM_SET_LOWEST 
   57     uint8_t blockers[PM_NUM_MODES];     
 
   65 #ifdef MODULE_PM_LAYERED 
   68 static inline void pm_block(
unsigned mode) { (void)mode; }
 
   76 #ifdef MODULE_PM_LAYERED 
   79 static inline void pm_unblock(
unsigned mode) { (void)mode; }
 
Platform-independent access to architecture details.
 
static void pm_unblock(unsigned mode)
Unblock a power mode.
 
void pm_set(unsigned mode)
Switches the MCU to a new power mode.
 
pm_blocker_t pm_get_blocker(void)
Get currently blocked PM modes.
 
static void pm_block(unsigned mode)
Block a power mode.
 
Power Management mode blocker typedef.