libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
f3/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 STM32F3xx Power control </b>
4
*
5
* @ingroup STM32F3xx_defines
6
*
7
* @author @htmlonly © @endhtmlonly 2011
8
* Stephen Caudle <scaudle@doceme.com>
9
* @author @htmlonly © @endhtmlonly 2013
10
* Fernando Cortes <fernando.corcam@gmail.com>
11
* @author @htmlonly © @endhtmlonly 2013
12
* Guillermo Rivera <memogrg@gmail.com>
13
*
14
* @version 1.0.0
15
*
16
* @date 11 July 2013
17
*
18
* LGPL License Terms @ref lgpl_license
19
*/
20
/*
21
* This file is part of the libopencm3 project.
22
*
23
* Copyright (C) 2011 Stephen Caudle <scaudle@doceme.com>
24
* Modified by 2013 Fernando Cortes <fernando.corcam@gmail.com> (stm32f3)
25
* Modified by 2013 Guillermo Rivera <memogrg@gmail.com> (stm32f3)
26
*
27
* This library is free software: you can redistribute it and/or modify
28
* it under the terms of the GNU Lesser General Public License as published by
29
* the Free Software Foundation, either version 3 of the License, or
30
* (at your option) any later version.
31
*
32
* This library is distributed in the hope that it will be useful,
33
* but WITHOUT ANY WARRANTY; without even the implied warranty of
34
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35
* GNU Lesser General Public License for more details.
36
*
37
* You should have received a copy of the GNU Lesser General Public License
38
* along with this library. If not, see <http://www.gnu.org/licenses/>.
39
*/
40
41
#ifndef LIBOPENCM3_PWR_H
42
#define LIBOPENCM3_PWR_H
43
44
#include <
libopencm3/stm32/common/pwr_common_v1.h
>
45
46
/* --- PWR_CSR values ------------------------------------------------------ */
47
48
/** Enable WKUP pin 3 */
49
#define PWR_CSR_EWUP3 (1 << 10)
50
/** Enable WKUP pin 2 */
51
#define PWR_CSR_EWUP2 (1 << 9)
52
/** Enable WKUP pin 1 */
53
#define PWR_CSR_EWUP1 PWR_CSR_EWUP
54
55
#endif
pwr_common_v1.h
include
libopencm3
stm32
f3
pwr.h
Generated on Tue Mar 7 2023 16:11:35 for libopencm3 by
1.9.4