STM32L443xx HAL User Manual
Defines
WAKEUP CLOCK DIV
RTC Exported Constants

Defines

#define LL_RTC_WAKEUPCLOCK_DIV_16   0x00000000U
#define LL_RTC_WAKEUPCLOCK_DIV_8   RTC_CR_WUCKSEL_0
#define LL_RTC_WAKEUPCLOCK_DIV_4   RTC_CR_WUCKSEL_1
#define LL_RTC_WAKEUPCLOCK_DIV_2   (RTC_CR_WUCKSEL_1 | RTC_CR_WUCKSEL_0)
#define LL_RTC_WAKEUPCLOCK_CKSPRE   RTC_CR_WUCKSEL_2
#define LL_RTC_WAKEUPCLOCK_CKSPRE_WUT   (RTC_CR_WUCKSEL_2 | RTC_CR_WUCKSEL_1)

Define Documentation

#define LL_RTC_WAKEUPCLOCK_CKSPRE   RTC_CR_WUCKSEL_2

ck_spre (usually 1 Hz) clock is selected

Definition at line 689 of file stm32l4xx_ll_rtc.h.

#define LL_RTC_WAKEUPCLOCK_CKSPRE_WUT   (RTC_CR_WUCKSEL_2 | RTC_CR_WUCKSEL_1)

ck_spre (usually 1 Hz) clock is selected and 2exp16 is added to the WUT counter value

Definition at line 690 of file stm32l4xx_ll_rtc.h.

#define LL_RTC_WAKEUPCLOCK_DIV_16   0x00000000U

RTC/16 clock is selected

Definition at line 685 of file stm32l4xx_ll_rtc.h.

#define LL_RTC_WAKEUPCLOCK_DIV_2   (RTC_CR_WUCKSEL_1 | RTC_CR_WUCKSEL_0)

RTC/2 clock is selected

Definition at line 688 of file stm32l4xx_ll_rtc.h.

#define LL_RTC_WAKEUPCLOCK_DIV_4   RTC_CR_WUCKSEL_1

RTC/4 clock is selected

Definition at line 687 of file stm32l4xx_ll_rtc.h.

#define LL_RTC_WAKEUPCLOCK_DIV_8   RTC_CR_WUCKSEL_0

RTC/8 clock is selected

Definition at line 686 of file stm32l4xx_ll_rtc.h.