HAL time base based on the hardware TIM.
- Author
- MCD Application Team
This file overrides the native HAL time base functions (defined as weak)
the TIM time base:
+ Initializes the TIM peripheral generate a Period elapsed Event each 1ms
+ HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms
- Attention
Copyright (c) 2017 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
==============================================================================
##### How to use this driver #####
==============================================================================
[..]
This file must be copied to the application folder and modified as follows:
(#) Rename it to 'stm32h7xx_hal_timebase_tim.c'
(#) Add this file and the TIM HAL drivers to your project and uncomment
HAL_TIM_MODULE_ENABLED define in stm32h7xx_hal_conf.h