Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
cpu_pm.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2021 Gerson Fernando Budke
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
#include "
periph_cpu.h
"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
31
void
pm_periph_enable(
pwr_reduction_t
pwr);
32
void
pm_periph_disable(
pwr_reduction_t
pwr);
33
void
pm_periph_power_off(
void
);
34
35
#ifdef __cplusplus
36
}
37
#endif
38
pwr_reduction_t
uint16_t pwr_reduction_t
Power Reduction Peripheral Mask.
Definition:
periph_cpu.h:73
periph_cpu.h
Shared CPU specific definitions for the STM32 family.
Generated on Thu Jun 26 2025 14:14:44 by
1.9.1