Date
1 - 2 of 2
Timer with fixed interrupt period
Arsenii Soitu
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 |
|
Hi,
toggle quoted message
Show quoted text
The counter API provides exactly that: https://docs.zephyrproject.org/latest/reference/peripherals/counter.html Brgds, Brix -- Henrik Brix Andersen On 31 Oct 2021, at 20.46, Arsenii Soitu <seniasoitu@...> wrote: |
|