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
65#ifdef MODULE_PM_LAYERED
68static inline void pm_block(
unsigned mode) { (void)mode; }
76#ifdef MODULE_PM_LAYERED
79static inline void pm_unblock(
unsigned mode) { (void)mode; }
Platform-independent access to architecture details.
#define WORD_ALIGNED
Type qualifier to use to align data on word boundaries.
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.
uint8_t blockers[PM_NUM_MODES]
number of blockers for the mode