STM8 TIMER 4 example | STM8 Timer Tutorial | STM8 Cosmic C | STM8 delay_us | STM8 delay_ms

Опубликовано: 03 Апрель 2020
на канале: Abdul Rehman 2050
7,529
82

This STM8 timer 4 example demonstrate the basic 8-bit TIMER 4 usage in STM8 specially STM8S based family microcontrollers. We created two delay generation functions with the help of timer 4 without using any interrupt.
Register involved are as follows
Here is a link for complete code:
http://www.fypsolutions.com/stm8-cosm...

TIM4_EGR
TIM4_CR1
TIM4_ARR
TIM4_PSCR
TIM4_CNTR
these register helps to configure and used TIMER 4 for creating delay_us and delay_ms functions in COSMIC C compiler

Join facebook Group:
  / 847120925756235