libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
l1/syscfg.h
Go to the documentation of this file.
1/** @defgroup syscfg_defines SYSCFG Defines
2 *
3 * @ingroup STM32L1xx_defines
4 *
5 * @brief Defined Constants and Types for the STM32L1xx Sysconfig
6 *
7 * @version 1.0.0
8 *
9 * @author @htmlonly © @endhtmlonly 2013
10 * Frantisek Burian <BuFran@seznam.cz>
11 *
12 * @date 13 January 2014
13 *
14 * LGPL License Terms @ref lgpl_license
15 * */
16
17/*
18 * This file is part of the libopencm3 project.
19 *
20 * Copyright (C) 2013 Frantisek Burian <BuFran@seznam.cz>
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_SYSCFG_H
37#define LIBOPENCM3_SYSCFG_H
38
40
41/** Enable internal USB pullup iff USB periph is not powered down */
42#define SYSCFG_PMC_USB_PU (1<<0)
43
44#endif