libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
f0/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 STM32F0xx USART</b>
4
*
5
* @ingroup STM32F0xx_defines
6
*
7
* @version 1.0.0
8
*
9
* @date 2 July 2013
10
*
11
* LGPL License Terms @ref lgpl_license
12
*/
13
14
/*
15
* This file is part of the libopencm3 project.
16
*
17
* This library is free software: you can redistribute it and/or modify
18
* it under the terms of the GNU Lesser General Public License as published by
19
* the Free Software Foundation, either version 3 of the License, or
20
* (at your option) any later version.
21
*
22
* This library is distributed in the hope that it will be useful,
23
* but WITHOUT ANY WARRANTY; without even the implied warranty of
24
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
* GNU Lesser General Public License for more details.
26
*
27
* You should have received a copy of the GNU Lesser General Public License
28
* along with this library. If not, see <http://www.gnu.org/licenses/>.
29
*/
30
31
#ifndef LIBOPENCM3_USART_H
32
#define LIBOPENCM3_USART_H
33
34
#include <
libopencm3/stm32/common/usart_common_all.h
>
35
#include <
libopencm3/stm32/common/usart_common_v2.h
>
36
37
/**@{*/
38
39
/*****************************************************************************/
40
/* Module definitions */
41
/*****************************************************************************/
42
43
/** @defgroup usart_reg_base USART register base addresses
44
* Holds all the U(S)ART peripherals supported.
45
* @{
46
*/
47
#define USART1 USART1_BASE
48
#define USART2 USART2_BASE
49
#define USART3 USART3_BASE
50
#define USART4 USART4_BASE
51
#define USART5 USART5_BASE
52
#define USART6 USART6_BASE
53
#define USART7 USART7_BASE
54
#define USART8 USART8_BASE
55
/**@}*/
56
57
/*****************************************************************************/
58
/* Register values */
59
/*****************************************************************************/
60
61
/*****************************************************************************/
62
/* API Functions */
63
/*****************************************************************************/
64
65
BEGIN_DECLS
66
67
END_DECLS
68
69
/**@}*/
70
71
#endif
72
END_DECLS
#define END_DECLS
Definition:
common.h:34
BEGIN_DECLS
#define BEGIN_DECLS
Definition:
common.h:33
usart_common_all.h
usart_common_v2.h
include
libopencm3
stm32
f0
usart.h
Generated on Tue Mar 7 2023 16:11:16 for libopencm3 by
1.9.4