LL_RTC_GetSynchPrescaler
__STATIC_INLINE uint32_t LL_RTC_GetSynchPrescaler
(RTC_TypeDef * RTCx)
Get Synchronous prescaler factor.
Value: between Min_Data = 0 and Max_Data = 0x7FFF
Reference Manual to
LL API cross
reference:
PRER PREDIV_S LL_RTC_GetSynchPrescaler
LL_RTC_EnableWriteProtection
__STATIC_INLINE void LL_RTC_EnableWriteProtection
(RTC_TypeDef * RTCx)
Enable the write protection for RTC registers.
Reference Manual to
LL API cross
reference:
WPR KEY LL_RTC_EnableWriteProtection
LL_RTC_DisableWriteProtection
__STATIC_INLINE void LL_RTC_DisableWriteProtection
(RTC_TypeDef * RTCx)
Disable the write protection for RTC registers.
Reference Manual to
LL API cross
reference:
WPR KEY LL_RTC_DisableWriteProtection
LL_RTC_TIME_SetFormat
__STATIC_INLINE void LL_RTC_TIME_SetFormat
(RTC_TypeDef * RTCx, uint32_t TimeFormat)
Set time format (AM/24-hour or PM notation)
RTCx: RTC Instance
TimeFormat: This parameter can be one of the following
values:
LL_RTC_TIME_FORMAT_AM_OR_24
LL_RTC_TIME_FORMAT_PM
Bit is write-protected. LL_RTC_DisableWriteProtection
function should be called before.