libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
l4/usart.h
Go to the documentation of this file.
1/** @defgroup usart_defines USART Defines
2 *
3 * @brief <b>Defined Constants and Types for the STM32L4xx USART</b>
4 *
5 * @ingroup STM32L4xx_defines
6 *
7 * LGPL License Terms @ref lgpl_license
8 */
9
10/*
11 * This file is part of the libopencm3 project.
12 *
13 * This library is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU Lesser General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License for more details.
22 *
23 * You should have received a copy of the GNU Lesser General Public License
24 * along with this library. If not, see <http://www.gnu.org/licenses/>.
25 */
26
27#ifndef LIBOPENCM3_USART_H
28#define LIBOPENCM3_USART_H
29
32
33/** @defgroup usart_reg_base USART register base addresses
34 * Holds all the U(S)ART peripherals supported.
35 * @{
36 */
37#define USART1 USART1_BASE
38#define USART2 USART2_BASE
39#define USART3 USART3_BASE
40#define UART4 UART4_BASE
41#define UART5 UART5_BASE
42#define LPUART1 LPUART1_BASE
43/**@}*/
44
46
48
49#endif
#define END_DECLS
Definition: common.h:34
#define BEGIN_DECLS
Definition: common.h:33