I have been trying to generate one-time usable delays based on different inputs, delivering message from the origin forward. Code is based on example code from timer_group, IDF version 3.1.1.
Got it working ok, for available 4 timers, but after that I should be able to release / reinit one of the used ones.
What would be a proper way to do this, possibly from isr ?
Way to re-init a hw timer ?
Re: Way to re-init a hw timer ?
Calling timer_init() should be able to reinitialize a timer. Just be sure to call timer_pause() first.
Who is online
Users browsing this forum: Bing [Bot] and 77 guests