Page 1 of 1

tick example code

Posted: Thu Jun 27, 2019 8:58 am
by madhu.b
Hi,

is there any example code related to os_tick_start and os_tick_handler.

thanks,
Madhu

Re: tick example code

Posted: Sun Jun 30, 2019 6:42 am
by fivdiAtESP32
madhu.b wrote:
Thu Jun 27, 2019 8:58 am
Hi,

is there any example code related to os_tick_start and os_tick_handler.

thanks,
Madhu

I'm not aware of functions called os_tick_start and os_tick_handler in an esp-idf context.

If the goal is to use timers then esp-idf does offer timer support. See https://docs.espressif.com/projects/esp ... timer.html

There is also the FreeRTOS Timer API. See https://docs.espressif.com/projects/esp ... #timer-api

Re: tick example code

Posted: Sun Jun 30, 2019 6:54 am
by fivdiAtESP32
And there's also the esp_timer API described at https://docs.espressif.com/projects/esp ... timer.html with an example of it's usage at https://github.com/espressif/esp-idf/tr ... /esp_timer