AnsweredAssumed Answered

Any nice TIM library? need a single callback after variable amount of time

Question asked by belomutskiy.andrey on Apr 15, 2014
TIMers are too complex for my tiny brain. I wonder if there is a useable library for common timer use-cases? The standard peripheral library is not simple enough.

All I need is one function - 'schedule a callback in X microseconds from now'. I would invoke it contentiously with different X parameter values - so, previous callback would be scheduling next single shot alarm. Please advice if maybe there is a standard example somewhere which is close to my use-case?

stm32f4, I have TIM5 and TIM7 available.

Outcomes