L14-Click
1.0
STM32WLE5CC LoRaWAN Sensor Platform
Loading...
Searching...
No Matches
usart.h
Go to the documentation of this file.
1
/* USER CODE BEGIN Header */
2
/**
3
******************************************************************************
4
* @file usart.h
5
* @brief This file contains all the function prototypes for
6
* the usart.c file
7
******************************************************************************
8
* @attention
9
*
10
* Copyright (c) 2025 STMicroelectronics.
11
* All rights reserved.
12
*
13
* This software is licensed under terms that can be found in the LICENSE file
14
* in the root directory of this software component.
15
* If no LICENSE file comes with this software, it is provided AS-IS.
16
*
17
******************************************************************************
18
*/
19
/* USER CODE END Header */
20
/* Define to prevent recursive inclusion -------------------------------------*/
21
#ifndef __USART_H__
22
#define __USART_H__
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
/* Includes ------------------------------------------------------------------*/
29
#include "
main.h
"
30
31
/* USER CODE BEGIN Includes */
32
33
/* USER CODE END Includes */
34
35
extern
UART_HandleTypeDef
huart1
;
36
37
/* USER CODE BEGIN Private defines */
38
39
/* USER CODE END Private defines */
40
41
/**
42
* @brief Initialise USART1 (huart1) as configured by STM32CubeMX.
43
* Sets baud rate, word length, stop bits, parity, and hardware flow
44
* control for the debug / trace UART. Call MX_DMA_Init() first so
45
* that the DMA channel is ready for DMA-based TX.
46
*/
47
void
MX_USART1_UART_Init
(
void
);
48
49
/* USER CODE BEGIN Prototypes */
50
51
/* USER CODE END Prototypes */
52
53
#ifdef __cplusplus
54
}
55
#endif
56
57
#endif
/* __USART_H__ */
58
main.h
: Header for main.c file. This file contains the common defines of the application.
huart1
UART_HandleTypeDef huart1
Definition
usart.c:30
MX_USART1_UART_Init
void MX_USART1_UART_Init(void)
Initialise USART1 (huart1) as configured by STM32CubeMX. Sets baud rate, word length,...
Definition
usart.c:35
Core
Inc
usart.h
Generated by
1.16.1