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
24#ifndef PERIPH_PM_H
25#define PERIPH_PM_H
26
27#include "periph_cpu.h"
28
29#ifdef MODULE_PM_LAYERED
30#include "pm_layered.h"
31#endif
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
40void pm_reboot(void);
41
45void pm_off(void);
46
52void pm_set_lowest(void);
53
54#ifdef __cplusplus
55}
56#endif
57
58#endif /* PERIPH_PM_H */
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.