mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-31 15:41:02 +08:00
feat(esp8266): Add get RTC clock value
This commit is contained in:
@ -427,3 +427,8 @@ esp_err_t esp_pm_configure(const void* vconfig)
|
||||
}
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
uint32_t rtc_time_get(void)
|
||||
{
|
||||
return REG_READ(RTC_SLP_CNT_VAL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user