HAL TimeBase RTC Alarm Overview ¶
Introducing HAL TimeBase RTC Alarm ¶
- group TimeBase_RTC_Alarm_Introduction
-
The RTC alarm timebase pattern provides an alternative to the default Cortex System Timer (SysTick) for the HAL timebase in STM32 microcontrollers.
This is useful in applications where SysTick is reserved for an RTOS, or when an ultra-low-power timebase is required. In this case, the RTC peripheral and its alarm feature are used to generate periodic interrupts for the HAL tick.
The RTC alarm timebase implementation is ready-to-use, requires no customization, and integrates seamlessly with the STM32 HAL.
Module and files ¶
The following diagram illustrates the HAL TimeBase RTC Alarm module and its associated files.
Component diagram ¶
The following diagram illustrates the software components involved in the HAL TimeBase RTC Alarme module. It shows the interactions between the user application, HAL drivers, low-level drivers, and the hardware components.
Configuration table ¶
The following table lists the configuration defines for the HAL TimeBase RTC Alarm, specifying their locations, default values, and descriptions: