1 /** 2 ****************************************************************************** 3 * File Name : USART.h 4 * Description : This file provides code for the configuration 5 * of the USART instances. 6 ****************************************************************************** 7 * @attention 8 * 9 * <h2><center>© Copyright (c) 2019 STMicroelectronics. 10 * All rights reserved.</center></h2> 11 * 12 * This software component is licensed by ST under BSD 3-Clause license, 13 * the "License"; You may not use this file except in compliance with the 14 * License. You may obtain a copy of the License at: 15 * opensource.org/licenses/BSD-3-Clause 16 * 17 ****************************************************************************** 18 */ 19 /* Define to prevent recursive inclusion -------------------------------------*/ 20 #ifndef __usart_H 21 #define __usart_H 22 #ifdef __cplusplus 23 extern "C" { 24 #endif 25 26 /* Includes ------------------------------------------------------------------*/ 27 #include "main.h" 28 29 /* USER CODE BEGIN Includes */ 30 31 /* USER CODE END Includes */ 32 33 extern UART_HandleTypeDef huart2; 34 extern UART_HandleTypeDef huart3; 35 36 /* USER CODE BEGIN Private defines */ 37 38 /* USER CODE END Private defines */ 39 40 void MX_USART2_UART_Init(void); 41 void MX_USART3_UART_Init(void); 42 43 /* USER CODE BEGIN Prototypes */ 44 45 /* USER CODE END Prototypes */ 46 47 #ifdef __cplusplus 48 } 49 #endif 50 #endif /*__ usart_H */ 51 52 /** 53 * @} 54 */ 55 56 /** 57 * @} 58 */ 59 60 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 61