main.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /* USER CODE BEGIN Header */
  2. /**
  3. ******************************************************************************
  4. * @file : main.h
  5. * @brief : Header for main.c file.
  6. * This file contains the common defines of the application.
  7. ******************************************************************************
  8. * @attention
  9. *
  10. * Copyright (c) 2024 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 __MAIN_H
  22. #define __MAIN_H
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26. /* Includes ------------------------------------------------------------------*/
  27. #include "stm32f1xx_hal.h"
  28. #include "stm32f1xx_ll_adc.h"
  29. #include "stm32f1xx_ll_dma.h"
  30. #include "stm32f1xx_ll_rcc.h"
  31. #include "stm32f1xx_ll_bus.h"
  32. #include "stm32f1xx_ll_system.h"
  33. #include "stm32f1xx_ll_exti.h"
  34. #include "stm32f1xx_ll_cortex.h"
  35. #include "stm32f1xx_ll_utils.h"
  36. #include "stm32f1xx_ll_pwr.h"
  37. #include "stm32f1xx_ll_tim.h"
  38. #include "stm32f1xx_ll_gpio.h"
  39. /* Private includes ----------------------------------------------------------*/
  40. /* USER CODE BEGIN Includes */
  41. /* USER CODE END Includes */
  42. /* Exported types ------------------------------------------------------------*/
  43. /* USER CODE BEGIN ET */
  44. /* USER CODE END ET */
  45. /* Exported constants --------------------------------------------------------*/
  46. /* USER CODE BEGIN EC */
  47. /* USER CODE END EC */
  48. /* Exported macro ------------------------------------------------------------*/
  49. /* USER CODE BEGIN EM */
  50. /* USER CODE END EM */
  51. /* Exported functions prototypes ---------------------------------------------*/
  52. void Error_Handler(void);
  53. /* USER CODE BEGIN EFP */
  54. /* USER CODE END EFP */
  55. /* Private defines -----------------------------------------------------------*/
  56. /* USER CODE BEGIN Private defines */
  57. /* USER CODE END Private defines */
  58. #ifdef __cplusplus
  59. }
  60. #endif
  61. #endif /* __MAIN_H */