cancel
Showing results for 
Search instead for 
Did you mean: 

STM8L Timer Trigger

ritesh
Associate II
Posted on December 23, 2015 at 10:19

I am using STM8L051F3.

I want to use Timer-2 ch-1 & ch-2 and Timer-3 ch-1 in sequence PWM mode.

All 3 timer in PWM mode with Period of 6 ms.

But first i want to start Timer-2 ch-1 PWM. After Complition of its 1st pulse Timer-2 ch-2 PWM pulse should start. and after completion of this pulse Timer-3 ch-1 pulse should start. and after complition of this timer-2 ch-1 pulse should start.

Timer-2 ch-1 --> Timer-2 ch-2 --> Timer-3 ch-1 --> Timer-2 ch-1 --> ....

So how should i initialize both timer using driver library APIs?

 

#stm8-timer #stm8
0 REPLIES 0