HAL TimeBase RTC Wakeup How to Use

group TimeBase_RTC_Wakeup_How_To_Use

How to use this driver

Copy this file to the application folder and modify it as follows:

  • Rename it to ‘stm32_hal_timebase_rtc_wakeup.c’.

  • Add this file and the RTC HAL drivers to the project and uncomment the USE_HAL_RTC_MODULE define in stm32c5xx_hal_conf.h.

  • Do not use the HAL RTC wake-up and HAL RTC Wake-up drivers with low-power modes: The RTC wake-up capability can be intrusive when a prior low power mode configuration requires different wake-up sources. Application or example behavior is no longer guaranteed.

  • Use stm32_hal_timebase_rtc_wakeup.c for applications or examples requiring low-power modes.