usart.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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>&copy; Copyright (c) 2022 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. /* Includes ------------------------------------------------------------------*/
  26. #include "main.h"
  27. /* USER CODE BEGIN Includes */
  28. /* USER CODE END Includes */
  29. extern UART_HandleTypeDef huart4;
  30. extern UART_HandleTypeDef huart1;
  31. extern UART_HandleTypeDef huart2;
  32. /* USER CODE BEGIN Private defines */
  33. /* USER CODE END Private defines */
  34. void MX_UART4_Init(void);
  35. void MX_USART1_UART_Init(void);
  36. void MX_USART2_UART_Init(void);
  37. /* USER CODE BEGIN Prototypes */
  38. /* USER CODE END Prototypes */
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. #endif /*__ usart_H */
  43. /**
  44. * @}
  45. */
  46. /**
  47. * @}
  48. */
  49. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/