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