esp_hw_support/esp32c2/rtc: take a safer xtal buf wait

This commit is contained in:
jingli 2022-09-02 11:46:39 +08:00
parent 4bcf814855
commit b8b7a0d8dd

View File

@ -90,7 +90,7 @@ extern "C" {
#define RTC_CNTL_SCK_DCAP_DEFAULT 255 #define RTC_CNTL_SCK_DCAP_DEFAULT 255
/* Various delays to be programmed into power control state machines */ /* Various delays to be programmed into power control state machines */
#define RTC_CNTL_XTL_BUF_WAIT_SLP_US (250) #define RTC_CNTL_XTL_BUF_WAIT_SLP_US (1000)
#define RTC_CNTL_PLL_BUF_WAIT_SLP_CYCLES (1) #define RTC_CNTL_PLL_BUF_WAIT_SLP_CYCLES (1)
#define RTC_CNTL_CK8M_WAIT_SLP_CYCLES (4) #define RTC_CNTL_CK8M_WAIT_SLP_CYCLES (4)
#define RTC_CNTL_WAKEUP_DELAY_CYCLES (5) #define RTC_CNTL_WAKEUP_DELAY_CYCLES (5)