STM32F439xx 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_INIT_MASK   0xFFFFFFFFU
#define RTC_RSF_MASK   0xFFFFFF5FU
#define RTC_WRITE_PROTECTION_DISABLE   ((uint8_t)0xFFU)
#define RTC_WRITE_PROTECTION_ENABLE_1   ((uint8_t)0xCAU)
#define RTC_WRITE_PROTECTION_ENABLE_2   ((uint8_t)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 63 of file stm32f4xx_ll_rtc.c.

Referenced by LL_RTC_StructInit().

#define RTC_INIT_MASK   0xFFFFFFFFU

Definition at line 64 of file stm32f4xx_ll_rtc.h.

Referenced by LL_RTC_EnableInitMode().

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

Definition at line 67 of file stm32f4xx_ll_rtc.c.

Referenced by LL_RTC_EnterInitMode().

#define RTC_OFFSET_DAY   16U

Definition at line 74 of file stm32f4xx_ll_rtc.h.

Referenced by LL_RTC_DATE_Get().

#define RTC_OFFSET_HOUR   16U

Definition at line 76 of file stm32f4xx_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 77 of file stm32f4xx_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 75 of file stm32f4xx_ll_rtc.h.

Referenced by LL_RTC_DATE_Get().

#define RTC_OFFSET_WEEKDAY   24U

Definition at line 73 of file stm32f4xx_ll_rtc.h.

Referenced by LL_RTC_DATE_Get().

#define RTC_RSF_MASK   0xFFFFFF5FU

Definition at line 65 of file stm32f4xx_ll_rtc.h.

#define RTC_SYNCH_PRESC_DEFAULT   0x000000FFU

Definition at line 64 of file stm32f4xx_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 68 of file stm32f4xx_ll_rtc.c.

Referenced by LL_RTC_WaitForSynchro().

#define RTC_WRITE_PROTECTION_DISABLE   ((uint8_t)0xFFU)

Definition at line 68 of file stm32f4xx_ll_rtc.h.

Referenced by LL_RTC_EnableWriteProtection().

#define RTC_WRITE_PROTECTION_ENABLE_1   ((uint8_t)0xCAU)

Definition at line 69 of file stm32f4xx_ll_rtc.h.

Referenced by LL_RTC_DisableWriteProtection().

#define RTC_WRITE_PROTECTION_ENABLE_2   ((uint8_t)0x53U)

Definition at line 70 of file stm32f4xx_ll_rtc.h.

Referenced by LL_RTC_DisableWriteProtection().