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
9#pragma once
10
24
25#include "periph_cpu.h"
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31void pm_periph_enable(pwr_reduction_t pwr);
32void pm_periph_disable(pwr_reduction_t pwr);
33void pm_periph_power_off(void);
34
35#ifdef __cplusplus
36}
37#endif
38
CPU specific definitions for internal peripheral handling.
uint16_t pwr_reduction_t
Power Reduction Peripheral Mask.
Definition periph_cpu.h:73