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
* 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
33
extern
"C"
{
34
#endif
35
39
void
pm_reboot
(
void
);
40
44
void
pm_off
(
void
);
45
51
void
pm_set_lowest
(
void
);
52
53
#ifdef __cplusplus
54
}
55
#endif
56
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 Thu Jul 3 2025 17:41:20 by
1.13.2