Timer0

Timer0 PWM0

Fri, 2018-01-05 11:08--Ruchi Patel

亲爱的Dialog_Support,

I am using timer0 pwm0 to operate and control LED brightness using timer0_set(uint16_t pwm_on, uint16_t pwm_high, uint16_t pwm_low); function. If i give timer0_set(0xFF, 0XFF, 0) then also my LED is not getting ON fully. Then i have used timer0's PWM1 then LED should fully turn OFF when i call timer0_set(0xFF, 0xFF, 0) but my LED is not going to OFF fully. LED glows at 5-10% brightness. And if i call timer0_stop function, then LED turns OFF fully. What could be the reason?

Can we replace Timer0 and Timer2 by app_easy_timer?

Wed, 2017-10-25 12:26--Ruchi Patel

Dear Dialog_support Team,

I was using Timer0 and Timer2 in my application to play buzzer sound and to calculate push button pressed time. Now i want to add sleep modes in my application and after adding extended sleep mode, timers are not working properly. I have also read different Dialog's forum posts that Timer0 and Timer2 will not work with sleep modes. So can i replace both timers by app_easy_timer? And i have configured duty cycles in Timer0,2 to play buzzer sounds. So how to set duty cycle using app_easy_timer?

Thanks and Regards,
Ruchi Patel

订阅to RSS - Timer0