Loading...
Searching...
No Matches
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
23#include "periph_cpu.h"
24
25#ifndef CPU_PM_H
26#define CPU_PM_H
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32void pm_periph_enable(pwr_reduction_t pwr);
33void pm_periph_disable(pwr_reduction_t pwr);
34void pm_periph_power_off(void);
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif /* CPU_PM_H */
uint16_t pwr_reduction_t
Power Reduction Peripheral Mask.
Definition periph_cpu.h:74
Shared CPU specific definitions for the STM32 family.