Loading...
Searching...
No Matches
pm.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2016 Kaspar Schleiser <kaspar@schleiser.de>
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
22
23#include "periph_cpu.h"
24
25#ifdef MODULE_PM_LAYERED
26#include "pm_layered.h"
27#endif
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
36void pm_reboot(void);
37
41void pm_off(void);
42
48void pm_set_lowest(void);
49
50#ifdef __cplusplus
51}
52#endif
53
void pm_off(void)
Turn off MCU completely.
void pm_set_lowest(void)
Switches the MCU to the lowest possible power mode.
void pm_reboot(void)
Reboot MCU.
Layered low power mode infrastructure.