libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
l1/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 STM32L1xx Power Control</b>
4
5
@ingroup STM32L1xx_defines
6
7
@version 1.0.0
8
9
@author @htmlonly © @endhtmlonly 2011 Stephen Caudle <scaudle@doceme.com>
10
@author @htmlonly © @endhtmlonly 2012 Karl Palsson <karlp@tweak.net.au>
11
12
@date 1 July 2012
13
14
LGPL License Terms @ref lgpl_license
15
*/
16
/*
17
* This file is part of the libopencm3 project.
18
*
19
* Copyright (C) 2011 Stephen Caudle <scaudle@doceme.com>
20
* Copyright (C) 2012 Karl Palsson <karlp@tweak.net.au>
21
*
22
* This library is free software: you can redistribute it and/or modify
23
* it under the terms of the GNU Lesser General Public License as published by
24
* the Free Software Foundation, either version 3 of the License, or
25
* (at your option) any later version.
26
*
27
* This library is distributed in the hope that it will be useful,
28
* but WITHOUT ANY WARRANTY; without even the implied warranty of
29
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30
* GNU Lesser General Public License for more details.
31
*
32
* You should have received a copy of the GNU Lesser General Public License
33
* along with this library. If not, see <http://www.gnu.org/licenses/>.
34
*/
35
36
#ifndef LIBOPENCM3_PWR_H
37
#define LIBOPENCM3_PWR_H
38
39
#include <
libopencm3/stm32/common/pwr_common_v2.h
>
40
41
/*
42
* This file extends the common STM32 version with definitions only
43
* applicable to the STM32L1 series of devices.
44
*/
45
46
/* --- PWR_CSR values ------------------------------------------------------- */
47
48
/* Bits [31:11]: Reserved */
49
/* EWUP3: Enable WKUP3 pin */
50
#define PWR_CSR_EWUP3 (1 << 10)
51
52
#endif
pwr_common_v2.h
include
libopencm3
stm32
l1
pwr.h
Generated on Tue Mar 7 2023 16:12:05 for libopencm3 by
1.9.4