From 6b24947f04706ef07f5c8c84bcca2c6e38ecb576 Mon Sep 17 00:00:00 2001 From: Th3maz1ng Date: Mon, 1 Jan 2024 21:46:20 +0100 Subject: [PATCH] Started to add the RTC calibration trigger function - WIP. --- src/W800_SDK_v1.00.10/include/driver/wm_pmu.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/W800_SDK_v1.00.10/include/driver/wm_pmu.h b/src/W800_SDK_v1.00.10/include/driver/wm_pmu.h index 9ea6955..8f14a69 100644 --- a/src/W800_SDK_v1.00.10/include/driver/wm_pmu.h +++ b/src/W800_SDK_v1.00.10/include/driver/wm_pmu.h @@ -146,6 +146,16 @@ void tls_pmu_sdio_isr_register(tls_pmu_irq_callback callback, void *arg); */ void tls_pmu_clk_select(u8 bypass); +/** + * @brief Starts the internal 32K oscillator calibration cycle. + * + * @param None + * + * @return None + * + */ +void tls_pmu_clk_calibrate(void); + /** * @brief This function is used to start pmu timer0