You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.5 KiB

3 years ago
  1. /**
  2. ******************************************************************************
  3. * @file tim.h
  4. * @brief This file contains all the function prototypes for
  5. * the tim.c file
  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 __TIM_H__
  21. #define __TIM_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 TIM_HandleTypeDef htim1;
  30. extern TIM_HandleTypeDef htim2;
  31. extern TIM_HandleTypeDef htim4;
  32. /* USER CODE BEGIN Private defines */
  33. /* USER CODE END Private defines */
  34. void MX_TIM1_Init(void);
  35. void MX_TIM2_Init(void);
  36. void MX_TIM4_Init(void);
  37. void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);
  38. /* USER CODE BEGIN Prototypes */
  39. /* USER CODE END Prototypes */
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43. #endif /* __TIM_H__ */
  44. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/