The friendly Operating System for the Internet of Things
pm_layered.h File Reference

Layered low power mode infrastructure. More...

Detailed Description

Author
Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e

Definition in file pm_layered.h.

#include "assert.h"
#include "periph/pm.h"
#include "periph_cpu.h"
+ Include dependency graph for pm_layered.h:

Go to the source code of this file.

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...