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