source: ctrl/firmware/Main/CubeMX/Core/Inc/usart.h

Last change on this file was 81, checked in by Zed, 10 months ago

Modbus Master and Slave interfaces were added.

File size: 1.5 KB
Line 
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
25extern "C" {
26#endif
27
28/* Includes ------------------------------------------------------------------*/
29#include "main.h"
30
31/* USER CODE BEGIN Includes */
32
33/* USER CODE END Includes */
34
35extern UART_HandleTypeDef huart2;
36
37extern UART_HandleTypeDef huart3;
38
39extern UART_HandleTypeDef huart10;
40
41/* USER CODE BEGIN Private defines */
42
43/* USER CODE END Private defines */
44
45void MX_USART2_UART_Init(void);
46void MX_USART3_UART_Init(void);
47void MX_USART10_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
Note: See TracBrowser for help on using the repository browser.