Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
34
extern
"C"
{
35
#endif
36
40
void
pm_reboot
(
void
);
41
45
void
pm_off
(
void
);
46
52
void
pm_set_lowest
(
void
);
53
54
#ifdef __cplusplus
55
}
56
#endif
57
58
#endif
/* PERIPH_PM_H */
59
pm_reboot
void pm_reboot(void)
Reboot MCU.
pm_off
void pm_off(void)
Turn off MCU completely.
pm_set_lowest
void pm_set_lowest(void)
Switches the MCU to the lowest possible power mode.
pm_layered.h
Layered low power mode infrastructure.
Generated on Tue Nov 24 2020 19:46:51 by
1.8.17