We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
软件定时器的回调函数,有时候会停止运行一段时间。之后有正常回调。请问什么原因会引起这个问题呢?谢谢
The text was updated successfully, but these errors were encountered:
Hello @heyangxinmei ,
In order to help you, I have a few questions:
Sorry, something went wrong.
Yes, the callback is called from a task with ESP_TASK_TIMER_PRIO, so there could be tasks with a higher priority (e.g. BT)
ESP_TASK_TIMER_PRIO
会停止运行一段时间
How long is 一段时间? Is the callback delayed a few ms, or is it multiple seconds? Are you using power-management/sleep in your application?
It is also possible to dispatch the callback directly from the ISR: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/esp_timer.html#using-the-interrupt-dispatch-method
ESP-Marius
No branches or pull requests
Answers checklist.
General issue report
软件定时器的回调函数,有时候会停止运行一段时间。之后有正常回调。请问什么原因会引起这个问题呢?谢谢
The text was updated successfully, but these errors were encountered: