Layered low power mode infrastructure. More...
Layered low power mode infrastructure.
Definition in file pm_layered.h.
#include "periph_cpu.h"
Go to the source code of this file.
Data Structures | |
union | pm_blocker_t |
Power Management mode blocker typedef. More... | |
Functions | |
void | pm_block (unsigned mode) |
Block a power mode. More... | |
void | pm_unblock (unsigned mode) |
Unblock a power mode. More... | |
void | pm_set (unsigned mode) |
Switches the MCU to a new power mode. More... | |
pm_blocker_t | pm_get_blocker (void) |
Get currently blocked PM modes. More... | |