Loading...
Searching...
No Matches
pm.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
9#pragma once
10
25
26#include "periph_cpu.h"
27
28#ifdef MODULE_PM_LAYERED
29#include "pm_layered.h"
30#endif
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
39void pm_reboot(void);
40
44void pm_off(void);
45
51void pm_set_lowest(void);
52
53#ifdef __cplusplus
54}
55#endif
56
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.