Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
30
extern
"C"
{
31
#endif
32
36
void
pm_reboot
(
void
);
37
41
void
pm_off
(
void
);
42
48
void
pm_set_lowest
(
void
);
49
50
#ifdef __cplusplus
51
}
52
#endif
53
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_reboot
void pm_reboot(void)
Reboot MCU.
pm_layered.h
Layered low power mode infrastructure.
Generated on Fri May 1 2026 15:22:59 by
1.13.2