RTCx: RTC Instance
Polarity: This parameter can be one of the following values:
LL_RTC_OUTPUTPOLARITY_PIN_HIGH
LL_RTC_OUTPUTPOLARITY_PIN_LOW
Bit is write-protected. LL_RTC_DisableWriteProtection
function should be called before.
Reference Manual to
LL API cross
reference:
CR POL LL_RTC_SetOutputPolarity
LL_RTC_GetOutputPolarity
__STATIC_INLINE uint32_t LL_RTC_GetOutputPolarity
(RTC_TypeDef * RTCx)
Returned: value can be one of the following values:
LL_RTC_OUTPUTPOLARITY_PIN_HIGH
LL_RTC_OUTPUTPOLARITY_PIN_LOW
Reference Manual to
LL API cross
reference:
CR POL LL_RTC_GetOutputPolarity
LL_RTC_EnableRefClock
__STATIC_INLINE void LL_RTC_EnableRefClock
(RTC_TypeDef * RTCx)
Enable RTC_REFIN reference clock detection (50 or 60 Hz)
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_EnableRefClock
LL_RTC_DisableRefClock
__STATIC_INLINE void LL_RTC_DisableRefClock
(RTC_TypeDef * RTCx)
Disable RTC_REFIN reference clock detection (50 or 60 Hz)