STM32L486xx 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 556 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 557 of file stm32l4xx_ll_rtc.h.

#define LL_RTC_WAKEUPCLOCK_DIV_16   0x00000000U

RTC/16 clock is selected

Definition at line 552 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 555 of file stm32l4xx_ll_rtc.h.

#define LL_RTC_WAKEUPCLOCK_DIV_4   (RTC_CR_WUCKSEL_1)

RTC/4 clock is selected

Definition at line 554 of file stm32l4xx_ll_rtc.h.

#define LL_RTC_WAKEUPCLOCK_DIV_8   (RTC_CR_WUCKSEL_0)

RTC/8 clock is selected

Definition at line 553 of file stm32l4xx_ll_rtc.h.