Loading...
Searching...
No Matches
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
21
22#include "periph_cpu.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28void pm_periph_enable(pwr_reduction_t pwr);
29void pm_periph_disable(pwr_reduction_t pwr);
30void pm_periph_power_off(void);
31
32#ifdef __cplusplus
33}
34#endif
35
CPU specific definitions for internal peripheral handling.
uint16_t pwr_reduction_t
Power Reduction Peripheral Mask.
Definition periph_cpu.h:70