pm_layered.h File Reference

Layered low power mode infrastructure. More...

Detailed Description

Layered low power mode infrastructure.

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_cpu.h"
+ Include dependency graph for pm_layered.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...