libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
f0/pwr.h
Go to the documentation of this file.
1/** @defgroup pwr_defines PWR Defines
2 *
3 * @brief <b>Defined Constants and Types for the STM32F0xx PWR Control</b>
4 *
5 * @ingroup STM32F0xx_defines
6 *
7 * @version 1.0.0
8 *
9 * @date 5 December 2012
10 *
11 * LGPL License Terms @ref lgpl_license
12 */
13
14/*
15 * This file is part of the libopencm3 project.
16 *
17 * This library is free software: you can redistribute it and/or modify
18 * it under the terms of the GNU Lesser General Public License as published by
19 * the Free Software Foundation, either version 3 of the License, or
20 * (at your option) any later version.
21 *
22 * This library is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU Lesser General Public License for more details.
26 *
27 * You should have received a copy of the GNU Lesser General Public License
28 * along with this library. If not, see <http://www.gnu.org/licenses/>.
29 */
30
31#ifndef LIBOPENCM3_PWR_H
32#define LIBOPENCM3_PWR_H
33
35
36/*****************************************************************************/
37/* Module definitions */
38/*****************************************************************************/
39
40/*****************************************************************************/
41/* Register definitions */
42/*****************************************************************************/
43
44/*****************************************************************************/
45/* Register values */
46/*****************************************************************************/
47
48/* EWUP: Enable WKUP2 pin */
49#define PWR_CSR_EWUP2 (1 << 9)
50
51/* EWUP: Enable WKUP1 pin */
52#define PWR_CSR_EWUP1 (1 << 8)
53
54/*****************************************************************************/
55/* API definitions */
56/*****************************************************************************/
57
58/*****************************************************************************/
59/* API Functions */
60/*****************************************************************************/
61
63
65
66#endif
67
#define END_DECLS
Definition: common.h:34
#define BEGIN_DECLS
Definition: common.h:33