Re: Timer with fixed interrupt period

Henrik Brix Andersen


The counter API provides exactly that:

Henrik Brix Andersen

On 31 Oct 2021, at 20.46, Arsenii Soitu <seniasoitu@...> wrote:

Hello. I use stm32f429 and Zephyr Os 2.7.0

Is there any API for timers with fixed interrupt period?
I need to change PWM duty cycle exactly every 1000 us. In bare-metal I would have used general purpose timer with fixed interrupt period, and changed duty cycle in interrupt handler
But how should I manage with such task under Zephyr Os?

Thank you

Join to automatically receive all group messages.