STM32L443xx HAL User Manual
Defines
RTC Private Constants
RTC

Defines

#define RTC_ASYNCH_PRESC_DEFAULT   0x0000007FU
#define RTC_SYNCH_PRESC_DEFAULT   0x000000FFU
#define RTC_INITMODE_TIMEOUT   1000U /* 1s when tick set to 1ms */
#define RTC_SYNCHRO_TIMEOUT   1000U /* 1s when tick set to 1ms */
#define RTC_LL_INIT_MASK   0xFFFFFFFFU
#define RTC_LL_RSF_MASK   0xFFFFFF5FU
#define RTC_WRITE_PROTECTION_DISABLE   0xFFU
#define RTC_WRITE_PROTECTION_ENABLE_1   0xCAU
#define RTC_WRITE_PROTECTION_ENABLE_2   0x53U
#define RTC_OFFSET_WEEKDAY   24U
#define RTC_OFFSET_DAY   16U
#define RTC_OFFSET_MONTH   8U
#define RTC_OFFSET_HOUR   16U
#define RTC_OFFSET_MINUTE   8U

Define Documentation

#define RTC_ASYNCH_PRESC_DEFAULT   0x0000007FU

Definition at line 46 of file stm32l4xx_ll_rtc.c.

Referenced by LL_RTC_StructInit().

#define RTC_INITMODE_TIMEOUT   1000U /* 1s when tick set to 1ms */

Definition at line 50 of file stm32l4xx_ll_rtc.c.

Referenced by LL_RTC_EnterInitMode().

#define RTC_LL_INIT_MASK   0xFFFFFFFFU

Definition at line 47 of file stm32l4xx_ll_rtc.h.

Referenced by LL_RTC_EnableInitMode().

#define RTC_LL_RSF_MASK   0xFFFFFF5FU

Definition at line 48 of file stm32l4xx_ll_rtc.h.

#define RTC_OFFSET_DAY   16U

Definition at line 57 of file stm32l4xx_ll_rtc.h.

Referenced by LL_RTC_DATE_Get().

#define RTC_OFFSET_HOUR   16U

Definition at line 59 of file stm32l4xx_ll_rtc.h.

Referenced by LL_RTC_ALMA_GetTime(), LL_RTC_ALMB_GetTime(), and LL_RTC_TIME_Get().

#define RTC_OFFSET_MINUTE   8U

Definition at line 60 of file stm32l4xx_ll_rtc.h.

Referenced by LL_RTC_ALMA_GetTime(), LL_RTC_ALMB_GetTime(), and LL_RTC_TIME_Get().

#define RTC_OFFSET_MONTH   8U

Definition at line 58 of file stm32l4xx_ll_rtc.h.

Referenced by LL_RTC_DATE_Get().

#define RTC_OFFSET_WEEKDAY   24U

Definition at line 56 of file stm32l4xx_ll_rtc.h.

Referenced by LL_RTC_DATE_Get().

#define RTC_SYNCH_PRESC_DEFAULT   0x000000FFU

Definition at line 47 of file stm32l4xx_ll_rtc.c.

Referenced by LL_RTC_DeInit(), and LL_RTC_StructInit().

#define RTC_SYNCHRO_TIMEOUT   1000U /* 1s when tick set to 1ms */

Definition at line 51 of file stm32l4xx_ll_rtc.c.

Referenced by LL_RTC_WaitForSynchro().

#define RTC_WRITE_PROTECTION_DISABLE   0xFFU

Definition at line 51 of file stm32l4xx_ll_rtc.h.

Referenced by LL_RTC_EnableWriteProtection().

#define RTC_WRITE_PROTECTION_ENABLE_1   0xCAU

Definition at line 52 of file stm32l4xx_ll_rtc.h.

Referenced by LL_RTC_DisableWriteProtection().

#define RTC_WRITE_PROTECTION_ENABLE_2   0x53U

Definition at line 53 of file stm32l4xx_ll_rtc.h.

Referenced by LL_RTC_DisableWriteProtection().