Page 1 of 1

RTC timer example code?

Posted: Wed Apr 04, 2018 2:02 pm
by Valerii
Hi, I need RTC timer code example. I tried to look in the forum but didn't find any.
In IDF I only found

Code: Select all

esp-idf/components/soc/esp32/rtc_time.c
but it is not enough for me to implement.
In general I need 32kHz XTAL based the clock source that will remain counting during light/deep sleep mode. With api to set callback on RTC timer interrupt after counter reached predefined value...
Any code example for these? Or description?

Thanks