Bit is write-protected. LL_RTC_DisableWriteProtection
function should be called before.
It can be written in initialization mode only
(LL_RTC_EnableInitMode function)
Reference Manual to
LL API cross
reference:
CR REFCKON LL_RTC_DisableRefClock
LL_RTC_SetAsynchPrescaler
__STATIC_INLINE void LL_RTC_SetAsynchPrescaler
(RTC_TypeDef * RTCx, uint32_t AsynchPrescaler)
Set Asynchronous prescaler factor.
RTCx: RTC Instance
AsynchPrescaler: Value between Min_Data = 0 and
Max_Data = 0x7F
Reference Manual to
LL API cross
reference:
PRER PREDIV_A LL_RTC_SetAsynchPrescaler
LL_RTC_SetSynchPrescaler
__STATIC_INLINE void LL_RTC_SetSynchPrescaler
(RTC_TypeDef * RTCx, uint32_t SynchPrescaler)
Set Synchronous prescaler factor.
RTCx: RTC Instance
SynchPrescaler: Value between Min_Data = 0 and
Max_Data = 0x7FFF
Reference Manual to
LL API cross
reference:
PRER PREDIV_S LL_RTC_SetSynchPrescaler
LL_RTC_GetAsynchPrescaler
__STATIC_INLINE uint32_t LL_RTC_GetAsynchPrescaler
(RTC_TypeDef * RTCx)
Get Asynchronous prescaler factor.
Value: between Min_Data = 0 and Max_Data = 0x7F
Reference Manual to
LL API cross
reference:
PRER PREDIV_A LL_RTC_GetAsynchPrescaler