STM8 microcontroller has multiple timers, among which TIM1 is a high-performance timer (16-bit), with the most powerful functionality. There are a total of 46 library functions related to it, covering function types that generally apply to other timers, with a few being unique to it. All functions are presented in parts, and this is the first part (functions 1~23). Among them, functions 1~18 are general functions, which means that TIM1~6 are all equipped with them, with a few function parameters being more than those of other timers. Functions 19~23 are those that were equipped with TIM6.



#STM8 #TIM1 #Library Functions #Example 1