tick example code

madhu.b
Posts: 11
Joined: Thu Feb 28, 2019 1:01 pm

tick example code

Postby madhu.b » Thu Jun 27, 2019 8:58 am

Hi,

is there any example code related to os_tick_start and os_tick_handler.

thanks,
Madhu

fivdiAtESP32
Posts: 47
Joined: Thu Dec 20, 2018 9:47 am

Re: tick example code

Postby fivdiAtESP32 » Sun Jun 30, 2019 6:42 am

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

fivdiAtESP32
Posts: 47
Joined: Thu Dec 20, 2018 9:47 am

Re: tick example code

Postby fivdiAtESP32 » Sun Jun 30, 2019 6:54 am

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

Who is online

Users browsing this forum: No registered users and 114 guests