cpu_pm.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2021 Gerson Fernando Budke
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
22 #include "periph_cpu.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 void pm_periph_enable(pwr_reduction_t pwr);
29 void pm_periph_disable(pwr_reduction_t pwr);
30 void pm_periph_power_off(void);
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
uint16_t pwr_reduction_t
Power Reduction Peripheral Mask.
Definition: periph_cpu.h:70
Shared CPU specific definitions for the STM32 family.