]> granicus.if.org Git - esp-idf/commit
soc/rtc: add a function to wait for slow clock cycle
authorIvan Grokhotkov <ivan@espressif.com>
Thu, 26 Oct 2017 10:33:13 +0000 (18:33 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Thu, 26 Oct 2017 11:53:53 +0000 (19:53 +0800)
commit05a0fbd49b227fad956c5eec90fac5ef397143b1
tree79aefe3a70a98748bb7c6ddf521f2844cdf31354
parent5c5d5f0acb11e791ee298f00d46a81c2d447a5db
soc/rtc: add a function to wait for slow clock cycle

Some RTC features are synchronized to RTC_SLOW_CLK, so sometimes
software needs to wait for the next slow clock cycle.
This function implements waiting using Timer Group clock calibration
feature.
components/soc/esp32/include/soc/rtc.h
components/soc/esp32/rtc_time.c